UNPKG

alouette

Version:

A modern, customizable design system built on top of NativeWind v5 with configurable defaults

12 lines • 539 B
export interface SplitButtonContextValue { value: string | undefined; onSelect: (value: string) => void; /** * The options render twice: as the main button's label, where only the * selected one shows its text, and as the rows of the open menu. */ slot: "label" | "menu"; } export declare const SplitButtonContextProvider: import("react").Provider<SplitButtonContextValue | undefined>; export declare function useSplitButtonContext(): SplitButtonContextValue; //# sourceMappingURL=SplitButtonContext.d.ts.map