chatgpt2api / web /src /components /ui /field.tsx
huanx's picture
Deploy chatgpt2api to Hugging Face Space
bf53440 verified
Raw
History Blame Contribute Delete
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 };