Download src/components/ui/input.jsx from guisousa/BaseAdmin: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/guisousa/BaseAdmin/resolve/main/src/components/ui/input.jsx
- Command line
-
hf download hf://spaces/guisousa/BaseAdmin/src/components/ui/input.jsx
-
curl -L -o input.jsx https://huggingface.co/spaces/guisousa/BaseAdmin/resolve/main/src/components/ui/input.jsx
321 Bytes
| import React from "react"; | |
| export const Input = React.forwardRef(({ className = "", ...props }, ref) => { | |
| return ( | |
| <input | |
| ref={ref} | |
| className={`w-full h-10 rounded-xl border px-3 outline-none focus:ring-2 focus:ring-black/20 ${className}`} | |
| {...props} | |
| /> | |
| ); | |
| }); | |
| Input.displayName = "Input"; | |