UNPKG

@renderlesskit/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

7 lines (6 loc) 401 B
import { DialogActions, DialogInitialState, DialogState } from "../dialog"; export declare type DrawerState = DialogState & {}; export declare type DrawerActions = DialogActions & {}; export declare type DrawerInitialState = DialogInitialState; export declare type DrawerStateReturn = DrawerState & DrawerActions; export declare function useDrawerState(props?: DrawerInitialState): DrawerStateReturn;