feat(components/system): implement Window

This commit is contained in:
Walid 2023-04-23 20:14:12 +01:00
parent 4b9290636f
commit 6e253823ba
Signed by: Walidoux
GPG Key ID: CCF21881FE8BEBAF
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
import { Fragment } from 'react'
import { TitleBar } from '../TitleBar'
interface WindowProps {
children: React.ReactNode
}
export const Window: React.FC<WindowProps> = ({ children }) => {
return (
<Fragment>
<TitleBar />
<main className='relative flex items-center justify-center py-20 h-full w-screen flex-col bg-[#242424]'>
{children}
</main>
</Fragment>
)
}

View File

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