1
0
Fork 0

refactor: move content of src/ to root dir for readability

This commit is contained in:
Vojtěch Mareš 2022-12-06 13:02:09 +01:00
parent 87958d1d28
commit 532d1eba99
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
69 changed files with 5 additions and 4 deletions

17
components/Container.tsx Normal file
View file

@ -0,0 +1,17 @@
import clsx from 'clsx'
import { ReactNode } from 'react'
type Props = {
className?: string,
children?: ReactNode
}
export function Container({ className, children }: Props ) {
return (
<div
className={clsx('mx-auto max-w-7xl px-4 sm:px-6 lg:px-8', className)}
>
{children}
</div>
)
}