export type SegOption = { value: string; label: string } /** The `.seg` segmented control used for period and lens switching. */ export function SegTabs({ options, value, onChange, style, }: { options: SegOption[] value: string onChange: (value: string) => void style?: React.CSSProperties }) { return (