import { Button } from '@evobgp/ui/components/button' import { ButtonGroup } from '@evobgp/ui/components/button-group' import { cn } from '@evobgp/ui/lib/utils' export function AnalyticsSegmentControl({ value, onChange, options, className, }: { value: T onChange: (value: T) => void options: { value: T; label: string }[] className?: string }) { return ( {options.map((option) => ( ))} ) }