mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
25 lines
420 B
TypeScript
25 lines
420 B
TypeScript
import { ComponentProps } from 'react';
|
|
|
|
export default function PageWrapper({
|
|
style,
|
|
...props
|
|
}: ComponentProps<'div'>) {
|
|
return (
|
|
<div
|
|
style={{
|
|
width: '100%',
|
|
maxWidth: 780,
|
|
margin: 'auto',
|
|
display: 'flex',
|
|
padding: 16,
|
|
flexDirection: 'column',
|
|
gap: 16,
|
|
boxSizing: 'border-box',
|
|
|
|
...style,
|
|
}}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|