UNPKG

sate-lib

Version:

A lightweight and modular React component library designed for modern web interfaces. **SATE Lib** powers the [sate.menu](https://sate.menu) platform with reusable, scalable, and themeable UI components.

19 lines 486 B
export interface DrawerInterface { open: boolean; onOpen: (val: boolean) => void; title: string; className?: string; children?: React.ReactNode; } type UseDrawerOptions = { open: boolean; onOpenChange: (val: boolean) => void; }; type State = "open" | "closed"; export declare function useDrawer({ open, onOpenChange }: UseDrawerOptions): { onClose: () => void; present: boolean; state: State; }; export {}; //# sourceMappingURL=useDrawer.d.ts.map