2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/components/design/Main/Main.tsx

21 lines
368 B
TypeScript
Raw Normal View History

2021-10-24 05:48:06 +02:00
import classNames from 'classnames'
export interface MainProps {
className?: string
}
export const Main: React.FC<MainProps> = (props) => {
const { children, className } = props
return (
<main
className={classNames(
'flex flex-1 flex-col justify-center items-center py-8',
className
)}
>
{children}
</main>
)
}