-
-
Notifications
You must be signed in to change notification settings - Fork 567
/
index.ts
27 lines (25 loc) 路 929 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export { Provider } from './core/Provider'
export { atom } from './core/atom'
export { useAtom } from './core/useAtom'
export { useAtomValue } from './core/useAtomValue'
export { useSetAtom } from './core/useSetAtom'
export { createStoreForExport as unstable_createStore } from './core/store'
export type { Atom, WritableAtom, PrimitiveAtom } from './core/atom'
export type {
Getter,
Setter,
ExtractAtomValue,
ExtractAtomUpdate,
ExtractAtomResult,
SetStateAction,
} from './core/typeUtils'
/**
* This is exported for internal use only.
* It can change without notice. Do not use it in application code.
*/
export { getScopeContext as SECRET_INTERNAL_getScopeContext } from './core/contexts'
/**
* This is exported for internal use only.
* It can change without notice. Do not use it in application code.
*/
export { registerPromiseAbort as SECRET_INTERNAL_registerPromiseAbort } from './core/suspensePromise'