123456789101112131415161718192021222324252627 |
- import type { Context, ReactNode } from 'react';
- import type { ReactReduxContextValue } from './Context';
- import type { Action, AnyAction, Store } from 'redux';
- import type { CheckFrequency } from '../hooks/useSelector';
- export interface ProviderProps<A extends Action = AnyAction, S = unknown> {
-
- store: Store<S, A>;
-
- serverState?: S;
-
- context?: Context<ReactReduxContextValue<S, A>>;
-
- stabilityCheck?: CheckFrequency;
-
- noopCheck?: CheckFrequency;
- children: ReactNode;
- }
- declare function Provider<A extends Action = AnyAction, S = unknown>({ store, context, children, serverState, stabilityCheck, noopCheck, }: ProviderProps<A, S>): JSX.Element;
- export default Provider;
|