19 lines
542 B
TypeScript
19 lines
542 B
TypeScript
import AuthLayoutTemplate from '@/layouts/auth/auth-simple-layout';
|
|
|
|
interface AuthLayoutProps {
|
|
children: React.ReactNode;
|
|
title: string;
|
|
description: string;
|
|
name?: string;
|
|
logoSrc?: string;
|
|
logoAlt?: string;
|
|
}
|
|
|
|
export default function AuthLayout({ children, title, description, name, logoSrc, logoAlt }: AuthLayoutProps) {
|
|
return (
|
|
<AuthLayoutTemplate title={title} description={description} name={name} logoSrc={logoSrc} logoAlt={logoAlt}>
|
|
{children}
|
|
</AuthLayoutTemplate>
|
|
);
|
|
}
|