Skip to content

Instantly share code, notes, and snippets.

<View
className={
"w-full bg-white border-2 border-red-500 md:rounded-lg rounded-none"
}
>
<Text className="text-xs text-zinc-500 dark:text-zinc-400">
No data available.
</Text>
</View>
import AsyncStorage from '@react-native-async-storage/async-storage';
import create from 'zustand';
import { persist } from 'zustand/middleware';
export const useSomthingStore = create<TSomthingStore>(
persist(
(set, get) => ({
isTrue: false,
_hasHydrated: false,
setHasHydrated: state => {