import { FC, ReactNode } from 'react' import styles from './AuthLayout.module.scss' interface AuthLayoutProps { children?: ReactNode } const AuthLayout: FC = ({ children }) => (
{children}
) interface AuthFieldProps { name: string required?: boolean type: 'text' | 'password' children?: ReactNode } const AuthField: FC = (props) => { return (
) } interface AuthPasswordProps { name: string required?: boolean children?: ReactNode } export const AuthPassword: FC = (props) => ( ) interface AuthInputProps { name: string required?: boolean children?: ReactNode } export const AuthInput: FC = (props) => ( ) export default AuthLayout