"use client"; import { RenderComponentWithSnippet } from "@/app/components/render"; import { useForm } from "react-hook-form"; import { Button } from "@calcom/ui/components/button"; import { InputField } from "@calcom/ui/components/form"; type FormValues = { username: string; email: string; password: string; }; export const BasicExample: React.FC = () => { const form = useForm({ defaultValues: { username: "", email: "", password: "", }, }); const onSubmit = (data: FormValues) => { console.log("Form submitted:", data); }; return (
); };