Files
blitzkit/src/components/Wrapper.tsx
T

24 lines
510 B
TypeScript
Raw Normal View History

2023-05-28 02:25:59 +00:00
import { ReactNode } from 'react';
2023-05-29 18:29:02 +00:00
import { theme } from '../stitches.config.js';
2023-05-28 02:25:59 +00:00
export interface WrapperProps {
children: ReactNode;
}
export default function Wrapper({ children }: WrapperProps) {
return (
<div
style={{
display: 'flex',
flexDirection: 'column',
padding: 16,
gap: 32,
width: 640,
2023-05-30 17:41:08 +00:00
background: 'url(https://i.imgur.com/PhS06NJ.png)',
2023-05-29 18:29:02 +00:00
color: theme.colors.textHighContrast,
2023-05-28 02:25:59 +00:00
}}
>
{children}
</div>
);
}