import React, { forwardRef } from 'react'; export interface AuthLayoutProps extends React.HTMLAttributes { brand?: React.ReactNode; footer?: React.ReactNode; pattern?: boolean; } export const AuthLayout = forwardRef( ({ brand, footer, pattern, className = '', children, ...rest }, ref) => { const classes = [ 'auth-layout', pattern && 'auth-layout--pattern', className ] .filter(Boolean) .join(' '); return (
{brand !== undefined && (
{brand}
)}
{children}
{footer !== undefined && (
{footer}
)}
); } ); AuthLayout.displayName = 'AuthLayout';