import { ReactNode } from 'react'; import { cn } from '@/lib/utils'; export interface PeriodOption { value: string; label: string; icon?: ReactNode; } interface PeriodSelectorProps { options: PeriodOption[]; selectedValue: string; onValueChange: (value: string) => void; className?: string; } export function PeriodSelector({ options, selectedValue, onValueChange, className }: PeriodSelectorProps) { return (