UNPKG

finsignal-segment-control

Version:

Segment control and news feed components for React web applications

14 lines (13 loc) 440 B
import './styles.css'; interface SegmentOption { value: string; label: string; } interface SegmentControlProps { options: SegmentOption[]; value: string; onValueChange: (value: string) => void; className?: string; } export declare function SegmentControl({ options, value, onValueChange, className }: SegmentControlProps): import("react/jsx-runtime").JSX.Element; export type { SegmentControlProps, SegmentOption };