simple-react-ui-kits
Version:
A lightweight, customizable React UI component library built with TypeScript and Tailwind CSS
7 lines • 324 B
TypeScript
/**
* Custom hook for toggle functionality
* @param initialValue - Initial toggle state
* @returns [state, toggle, setState] - Current state, toggle function, and setter
*/
export declare function useToggle(initialValue?: boolean): [boolean, () => void, (value: boolean) => void];
//# sourceMappingURL=useToggle.d.ts.map