UNPKG

1.18 kBTypeScriptView Raw
1export { RESET } from './utils/constants';
2export { useSetAtom as useUpdateAtom } from 'jotai';
3export { useAtomValue } from 'jotai';
4export { atomWithReset } from './utils/atomWithReset';
5export { useResetAtom } from './utils/useResetAtom';
6export { useReducerAtom } from './utils/useReducerAtom';
7export { atomWithReducer } from './utils/atomWithReducer';
8export { atomFamily } from './utils/atomFamily';
9export { selectAtom } from './utils/selectAtom';
10export { useAtomCallback } from './utils/useAtomCallback';
11export { freezeAtom, freezeAtomCreator } from './utils/freezeAtom';
12export { splitAtom } from './utils/splitAtom';
13export { atomWithDefault } from './utils/atomWithDefault';
14export { waitForAll } from './utils/waitForAll';
15export { NO_STORAGE_VALUE as unstable_NO_STORAGE_VALUE, atomWithStorage, atomWithHash, createJSONStorage, } from './utils/atomWithStorage';
16export { atomWithObservable } from './utils/atomWithObservable';
17export { useHydrateAtoms } from './utils/useHydrateAtoms';
18export { loadable } from './utils/loadable';
19export { abortableAtom } from './utils/abortableAtom';
20declare type Awaited<T> = T extends Promise<infer V> ? V : T;
\No newline at end of file