import { Select } from 'radix-ui'; import { Check, ChevronDown, ChevronUp } from 'lucide-react'; interface HistorySelectProps { label: string; value: string; options: { value: string; label: string; detail?: string }[]; onChange: (value: string) => void; } export function HistorySelect({ label, value, options, onChange }: HistorySelectProps) { return {options.map(option => {option.label} {option.detail && {option.detail}} )} ; }