17 lines
385 B
TypeScript
17 lines
385 B
TypeScript
|
|
|
|
import React from 'react';
|
|
import { Box } from './Box';
|
|
|
|
interface AuthContainerProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export function AuthContainer({ children }: AuthContainerProps) {
|
|
return (
|
|
<Box style={{ minHeight: '100vh', display: 'flex', alignItems: 'center', justifyContent: 'center', padding: '1rem', backgroundColor: '#0f1115' }}>
|
|
{children}
|
|
</Box>
|
|
);
|
|
}
|