Spaces:
Runtime error
Runtime error
Download src/components/ui/input.tsx from Ali-Developments/COURTRIX: direct link, hf CLI and curl.
- Browser
- Download file 757 Bytes
-
https://huggingface.co/spaces/Ali-Developments/COURTRIX/resolve/main/src/components/ui/input.tsx
- Command line
-
hf download hf://spaces/Ali-Developments/COURTRIX/src/components/ui/input.tsx
-
curl -L -o input.tsx https://huggingface.co/spaces/Ali-Developments/COURTRIX/resolve/main/src/components/ui/input.tsx
757 Bytes
| import * as React from "react"; | |
| import { cn } from "@/lib/utils"; | |
| const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>( | |
| ({ className, type, ...props }, ref) => { | |
| return ( | |
| <input | |
| type={type} | |
| className={cn( | |
| "flex h-11 w-full rounded-2xl border border-[var(--border)] bg-white/90 px-4 py-2 text-sm text-[var(--foreground)] outline-none transition-colors placeholder:text-[var(--foreground-soft)] focus:border-[var(--ring)] focus:ring-2 focus:ring-[color:color-mix(in_srgb,var(--ring)_24%,transparent)] disabled:cursor-not-allowed disabled:opacity-60", | |
| className, | |
| )} | |
| ref={ref} | |
| {...props} | |
| /> | |
| ); | |
| }, | |
| ); | |
| Input.displayName = "Input"; | |
| export { Input }; | |