mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
25 lines
510 B
TypeScript
25 lines
510 B
TypeScript
import { ReactNode } from 'react';
|
|
import { theme } from '../stitches.config.js';
|
|
|
|
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: 'url(https://i.imgur.com/PhS06NJ.png)',
|
|
color: theme.colors.textHighContrast,
|
|
}}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|