Spaces:
Running
Running
Download web/src/components/ui/field.tsx from Git-Hub/chatgpt2api: direct link, hf CLI and curl.
- Browser
- Download file 417 Bytes
-
https://huggingface.co/spaces/Git-Hub/chatgpt2api/resolve/main/web/src/components/ui/field.tsx
- Command line
-
hf download hf://spaces/Git-Hub/chatgpt2api/web/src/components/ui/field.tsx
-
curl -L -o field.tsx https://huggingface.co/spaces/Git-Hub/chatgpt2api/resolve/main/web/src/components/ui/field.tsx
417 Bytes
| import * as React from "react"; | |
| import { cn } from "@/lib/utils"; | |
| function Field({ className, ...props }: React.ComponentProps<"div">) { | |
| return <div className={cn("grid gap-2", className)} {...props} />; | |
| } | |
| function FieldLabel({ className, ...props }: React.ComponentProps<"label">) { | |
| return <label className={cn("text-sm font-medium text-stone-700", className)} {...props} />; | |
| } | |
| export { Field, FieldLabel }; | |