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