UNPKG

react-native-onyx

Version:

State management for React Native

12 lines (11 loc) 1.04 kB
import type { ConnectOptions, OnyxUpdate } from './Onyx'; import Onyx from './Onyx'; import type { CustomTypeOptions, KeyValueMapping, NullishDeep, OnyxCollection, OnyxEntry, OnyxKey, OnyxValue, Selector, OnyxInputValue, OnyxCollectionInputValue, OnyxInput, OnyxSetInput, OnyxMultiSetInput, OnyxMergeInput, OnyxMergeCollectionInput } from './types'; import type { FetchStatus, ResultMetadata, UseOnyxResult, UseOnyxOptions } from './useOnyx'; import type { Connection } from './OnyxConnectionManager'; import useOnyx from './useOnyx'; import withOnyx from './withOnyx'; import type { WithOnyxState } from './withOnyx/types'; export default Onyx; export { useOnyx, withOnyx }; export type { ConnectOptions, CustomTypeOptions, FetchStatus, KeyValueMapping, NullishDeep, OnyxCollection, OnyxEntry, OnyxKey, OnyxInputValue, OnyxCollectionInputValue, OnyxInput, OnyxSetInput, OnyxMultiSetInput, OnyxMergeInput, OnyxMergeCollectionInput, OnyxUpdate, OnyxValue, ResultMetadata, Selector, UseOnyxResult, WithOnyxState, Connection, UseOnyxOptions, };