UNPKG

react-chrono

Version:
10 lines 312 B
export interface UIStateHook<T> { state: T; toggle: () => void; setState: (value: T) => void; } /** * Optimized UI state hook with better type safety and performance */ export declare const useUIState: <T extends boolean>(initialState: T) => UIStateHook<T>; //# sourceMappingURL=useUIState.d.ts.map