17 lines
452 B
TypeScript
17 lines
452 B
TypeScript
"use client";
|
|
|
|
import type { SelectHTMLAttributes } from "react";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
export function Select({ className, ...props }: SelectHTMLAttributes<HTMLSelectElement>) {
|
|
return (
|
|
<select
|
|
className={cn(
|
|
"h-8 rounded-md border border-[#39434b] bg-[#101316] px-2 text-xs text-[#f2f4f4] outline-none focus-visible:ring-2 focus-visible:ring-[#7dc8cf]/45",
|
|
className,
|
|
)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|