diff --git a/src/components/ui/select.tsx b/src/components/ui/select.tsx new file mode 100644 index 0000000..8300838 --- /dev/null +++ b/src/components/ui/select.tsx @@ -0,0 +1,67 @@ +"use client"; + +import * as SelectPrimitive from "@radix-ui/react-select"; +import { Check, ChevronDown } from "lucide-react"; +import { cn } from "@/lib/utils"; + +export const Select = SelectPrimitive.Root; +export const SelectValue = SelectPrimitive.Value; + +export function SelectTrigger({ + className, + children, + ...props +}: React.ComponentPropsWithoutRef) { + return ( + + {children} + + + ); +} + +export function SelectContent({ + className, + ...props +}: React.ComponentPropsWithoutRef) { + return ( + + + + ); +} + +export function SelectItem({ + className, + children, + ...props +}: React.ComponentPropsWithoutRef) { + return ( + + + + + + + {children} + + ); +}