UNPKG

@payfit/unity-components

Version:

10 lines (9 loc) • 434 B
export type SelectListIndicatorPosition = 'start' | 'end'; export type SelectListSelectionMode = 'single' | 'multiple'; interface SelectListContextValue { selectionMode: SelectListSelectionMode; indicatorPosition: SelectListIndicatorPosition; } export declare const SelectListContextProvider: import('react').Provider<SelectListContextValue>; export declare function useSelectListContext(): SelectListContextValue; export {};