feat: coming soon

This commit is contained in:
Divlo
2021-10-24 05:48:06 +02:00
parent 21123c4477
commit 33bd2bb6bf
176 changed files with 36858 additions and 22133 deletions

View File

@ -0,0 +1,10 @@
import { render } from '@testing-library/react'
import { Main } from './'
describe('<Main />', () => {
it('should render successfully', () => {
const { baseElement } = render(<Main />)
expect(baseElement).toBeTruthy()
})
})

View File

@ -0,0 +1,20 @@
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>
)
}

View File

@ -0,0 +1 @@
export * from './Main'