This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/components/design/Main/Main.tsx

21 lines
393 B
TypeScript
Raw Normal View History

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