UNPKG

@twilio-paste/paste-reakit-fork

Version:

Forked Reakit that addresses SSR hydration issues

8 lines (7 loc) 529 B
import { SealedInitialState } from "reakit-utils/useSealedState"; import { CompositeState, CompositeActions, CompositeInitialState } from "../Composite/CompositeState"; export declare type ToolbarState = CompositeState; export declare type ToolbarActions = CompositeActions; export declare type ToolbarInitialState = CompositeInitialState; export declare type ToolbarStateReturn = ToolbarState & ToolbarActions; export declare function useToolbarState(initialState?: SealedInitialState<ToolbarInitialState>): ToolbarStateReturn;