Spaces:
Paused
Paused
Download apps/web/src/components/ui/select.tsx from nathycodes/presentercoach: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/spaces/nathycodes/presentercoach/resolve/main/apps/web/src/components/ui/select.tsx
- Command line
-
hf download hf://spaces/nathycodes/presentercoach/apps/web/src/components/ui/select.tsx
-
curl -L -o select.tsx https://huggingface.co/spaces/nathycodes/presentercoach/resolve/main/apps/web/src/components/ui/select.tsx
505 Bytes
| import * as React from "react"; | |
| import { cn } from "@/lib/utils"; | |
| export const Select = React.forwardRef<HTMLSelectElement, React.SelectHTMLAttributes<HTMLSelectElement>>( | |
| ({ className, children, ...props }, ref) => ( | |
| <select | |
| ref={ref} | |
| className={cn( | |
| "h-11 w-full rounded-2xl border border-ink/10 bg-white/80 px-3 text-sm outline-none focus:border-ember/60", | |
| className | |
| )} | |
| {...props} | |
| > | |
| {children} | |
| </select> | |
| ) | |
| ); | |
| Select.displayName = "Select"; | |