UNPKG

sate-lib

Version:

A lightweight and modular React component library designed for modern web interfaces. **SATE Lib** powers the [sate.menu](https://sate.menu) platform with reusable, scalable, and themeable UI components.

17 lines 539 B
import { type IconName } from "../icon/icon"; interface Option { value: string; label: string; icon?: IconName; disabled?: boolean; } interface SegmentedControlProps { options: Option[]; defaultValue: string; value?: string; onChange?: (value: string) => void; className?: string; } export declare function SegmentedControl({ options, value, defaultValue, onChange, className, }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=segmented-control.d.ts.map