alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
15 lines • 612 B
TypeScript
import type { ReactNode } from "react";
export interface SplitButtonOptionProps {
value: string;
/** The row's label, and the main button's text while it is selected. */
label: string;
/** What the action does, under the label in the menu only. */
description?: string;
disabled?: boolean;
}
/**
* One action of a {@link SplitButton}. Pressing it in the menu makes it the
* main button's action without running it.
*/
export declare function SplitButtonOption({ value, label, description, disabled, }: SplitButtonOptionProps): ReactNode;
//# sourceMappingURL=SplitButtonOption.d.ts.map