CreateStoreContextReturn
Signature
interface CreateStoreContextReturn<T, Mos extends [StoreMutatorIdentifier, unknown][] = []>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
FunctionComponent<{ children: ReactNode; initial?: Partial<T>; }> | |||
UseBoundStore<Mutate<StoreApi<T>, Mos>> | |||
<P extends object>(Component: ComponentType<P>, initial?: Partial<T>) => FunctionComponent<P> |