mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
23 lines
410 B
TypeScript
23 lines
410 B
TypeScript
import { ReactNode } from 'react';
|
|||
|
|
|
||
|
|
export interface WrapperProps {
|
||
|
|
children: ReactNode;
|
||
|
|
}
|
||
|
|
|
||
|
|
export default function Wrapper({ children }: WrapperProps) {
|
||
|
|
return (
|
||
|
|
<div
|
||
|
|
style={{
|
||
|
|
display: 'flex',
|
||
|
|
flexDirection: 'column',
|
||
|
|
padding: 16,
|
||
|
|
gap: 32,
|
||
|
|
width: 640,
|
||
|
|
background: 'black',
|
||
|
|
color: 'white',
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
{children}
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|