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

9 lines (8 loc) 696 B
import { SealedInitialState } from "reakit-utils/useSealedState"; import { SelectListActions, SelectListInitialState, SelectListState } from "./SelectListState"; import { SelectPopoverActions, SelectPopoverInitialState, SelectPopoverState } from "./SelectPopoverState"; export declare function useSelectState(initialState?: SealedInitialState<SelectInitialState>): SelectStateReturn; export declare type SelectState = SelectPopoverState & SelectListState; export declare type SelectActions = SelectPopoverActions & SelectListActions; export declare type SelectInitialState = SelectPopoverInitialState & SelectListInitialState; export declare type SelectStateReturn = SelectState & SelectActions;