import { Form, Head } from '@inertiajs/react'; import InputError from '@/components/input-error'; import PasswordInput from '@/components/password-input'; import TextLink from '@/components/text-link'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { Spinner } from '@/components/ui/spinner'; import { login } from '@/routes'; import { store } from '@/routes/register'; type Props = { passwordRules: string; }; export default function Register({ passwordRules }: Props) { return ( <>
{({ processing, errors }) => ( <>
Already have an account?{' '} Log in
)}
); } Register.layout = { title: 'Create an account', description: 'Enter your details below to create your account', };