"use client" import * as React from "react" import { cn } from "cn" import { Icons } from "@/components/icons" import { Button } from "@/registry/new-york-v4/ui/button" import { Field, FieldGroup, FieldLabel, FieldSeparator, } from "@/registry/new-york-v4/ui/field" import { Input } from "@/registry/new-york-v4/ui/input" import { Spinner } from "@/registry/new-york-v4/ui/spinner" export function UserAuthForm({ className, ...props }: React.ComponentProps<"div">) { const [isLoading, setIsLoading] = React.useState(false) async function onSubmit(event: React.SyntheticEvent) { event.preventDefault() setIsLoading(true) setTimeout(() => { setIsLoading(false) }, 3000) } return (
Email
Or continue with
) }