@gaddario98/react-native-core
Version:
```bash npm install @gaddario98/native ```
11 lines (8 loc) • 412 B
TypeScript
export { AtomGeneratorOptions, AtomState, PrimitiveAtom, SyncStorage, atomStateGenerator } from '@gaddario98/react-core/state';
declare const storage: {
getItem: (key: string) => Promise<string | null>;
setItem: (key: string, value: string) => Promise<void>;
removeItem: (key: string) => Promise<void>;
};
declare const setReactNativeStorage: () => void;
export { setReactNativeStorage, storage };