+ {description || "no description"} +
++ {paragraph} +
+ ))} ++ {description || "no description"} +
++ {paragraph} +
+ ))} ++ {body} +
+ ) +} + +export { + useFormField, + Form, + FormItem, + FormLabel, + FormControl, + FormDescription, + FormMessage, + FormField, +} diff --git a/move202503/chenyanxun/frontend/src/components/ui/input.tsx b/move202503/chenyanxun/frontend/src/components/ui/input.tsx new file mode 100644 index 00000000..03295ca6 --- /dev/null +++ b/move202503/chenyanxun/frontend/src/components/ui/input.tsx @@ -0,0 +1,21 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +function Input({ className, type, ...props }: React.ComponentProps<"input">) { + return ( + + ) +} + +export { Input } diff --git a/move202503/chenyanxun/frontend/src/components/ui/label.tsx b/move202503/chenyanxun/frontend/src/components/ui/label.tsx new file mode 100644 index 00000000..fb5fbc3e --- /dev/null +++ b/move202503/chenyanxun/frontend/src/components/ui/label.tsx @@ -0,0 +1,24 @@ +"use client" + +import * as React from "react" +import * as LabelPrimitive from "@radix-ui/react-label" + +import { cn } from "@/lib/utils" + +function Label({ + className, + ...props +}: React.ComponentProps