Spaces:
Sleeping
Sleeping
Download src/components/ui/Input.jsx from goat1242/pixelroast: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/goat1242/pixelroast/resolve/main/src/components/ui/Input.jsx
- Command line
-
hf download hf://spaces/goat1242/pixelroast/src/components/ui/Input.jsx
-
curl -L -o Input.jsx https://huggingface.co/spaces/goat1242/pixelroast/resolve/main/src/components/ui/Input.jsx
361 Bytes
| import React from 'react'; | |
| import { cn } from '../../utils'; | |
| export const Input = React.forwardRef(({ className, ...props }, ref) => { | |
| return ( | |
| <input | |
| ref={ref} | |
| className={cn( | |
| 'input-brutal', | |
| className | |
| )} | |
| {...props} | |
| /> | |
| ); | |
| }); | |
| Input.displayName = 'Input'; | |