import Form, { HandleForm } from 'react-component-form' import { Button } from 'components/design/Button' import useTranslation from 'next-translate/useTranslation' export interface AuthenticationFormLayoutProps { onChange?: HandleForm onSubmit?: HandleForm link?: React.ReactNode } export const AuthenticationFormLayout: React.FC = ( props ) => { const { children, onChange, onSubmit, link } = props const { t } = useTranslation() return ( <>
{children} {link}
) }