UNPKG

@uiw/react-native

Version:
13 lines (12 loc) 491 B
import React, { PropsWithChildren, FC } from 'react'; export interface InitialState { } export interface CreateContext { state: Partial<InitialState>; dispatch: React.Dispatch<InitialState>; } export declare const initialState: {}; declare const Context: React.Context<any>; declare const reducer: (state: Partial<InitialState>, action: Partial<InitialState>) => {}; declare const Provider: FC<PropsWithChildren<Partial<Record<string, any>>>>; export { Context, reducer, Provider };