@project44-manifest/react
Version:
Manifest Design System react components
14 lines • 595 B
TypeScript
import { CSS } from '@project44-manifest/react-styles';
import type { ForwardRefComponent } from '@project44-manifest/react-types';
export interface SegmentedControlProps {
/** Theme aware style object */
css?: CSS;
/** The current value (controlled). */
value?: string;
/** The default value (uncontrolled). */
defaultValue?: string;
/** Handler that is called when the value changes. */
onChange?: (value: string) => void;
}
export declare const SegmentedControl: ForwardRefComponent<"div", SegmentedControlProps>;
//# sourceMappingURL=SegmentedControl.d.ts.map