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 }) => ( <>
Já tem conta?{' '} Entrar
)}
); } Register.layout = { title: 'Criar conta', description: 'Registe a conta para configurar a sua empresa', };