'use client' import { SelectHTMLAttributes } from 'react' interface SelectProps extends SelectHTMLAttributes { label?: string; options: { value: string; label: string }[] } export function Select({ label, options, className = '', ...props }: SelectProps) { return ({label && {label}}{options.map((o) => ({o.label}))}) }