import { cn } from "@/lib/utils/cn";

type SelectProps = React.SelectHTMLAttributes<HTMLSelectElement>;

export function Select({ className, children, ...props }: SelectProps) {
  return (
    <select
      className={cn(
        "w-full rounded-xl border border-[var(--border)] bg-white px-3 py-2.5 text-sm text-slate-800 outline-none ring-[var(--primary)] transition focus:ring-2",
        className,
      )}
      {...props}
    >
      {children}
    </select>
  );
}
