- © {new Date().getFullYear()}{' '} - - TikTok-DL Project - -
-- {state.error instanceof Error - ? state.error.name.concat( - ': '.concat(state.error.message), - ) - : state.error - ? state.error - : ''} -
- - -- Wait a minute -
- )} - {data && data.video && data.video.urls.length && ( -{data.caption}}
- {error}
- ) : ( - data && ( - <> -- {data.description} -
-+ {body} +
+ ) +} + +export { + useFormField, + Form, + FormItem, + FormLabel, + FormControl, + FormDescription, + FormMessage, + FormField, +} diff --git a/apps/web/src/components/ui/input.tsx b/apps/web/src/components/ui/input.tsx new file mode 100644 index 0000000..08ca29a --- /dev/null +++ b/apps/web/src/components/ui/input.tsx @@ -0,0 +1,19 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +function Input({ className, type, ...props }: React.ComponentProps<"input">) { + return ( + + ) +} + +export { Input } diff --git a/apps/web/src/components/ui/label.tsx b/apps/web/src/components/ui/label.tsx new file mode 100644 index 0000000..d6419af --- /dev/null +++ b/apps/web/src/components/ui/label.tsx @@ -0,0 +1,25 @@ +"use client" + +import * as LabelPrimitive from "@radix-ui/react-label" + +import * as React from "react" + +import { cn } from "@/lib/utils" + +function Label({ + className, + ...props +}: React.ComponentProps