import { forwardRef, type SelectHTMLAttributes } from 'react'; import { ChevronDown } from 'lucide-react'; import { cn } from '@/lib/utils'; export interface Option { value: string; label: string; } export const Select = forwardRef & { options?: Option[] }>( function Select({ className, options, children, ...props }, ref) { return ( /^w-|^min-w|^flex-/.test(c)).join(' ') : '')}> {options ? options.map(o => {o.label}) : children} ); } );