Files
blitzkit/src/components/CommandWrapper.tsx
T
2024-03-14 23:31:50 -05:00

26 lines
554 B
TypeScript

import { ReactNode } from 'react';
import { theme } from '../stitches.config';
interface CommandWrapperProps {
children: ReactNode;
fat?: boolean;
}
export default function CommandWrapper({ children, fat }: CommandWrapperProps) {
return (
<div
style={{
display: 'flex',
flexDirection: 'column',
padding: `16px ${fat ? 0 : 16}px`,
gap: 16,
width: 480,
color: theme.colors.textHighContrast,
background: theme.colors.appBackground1,
}}
>
{children}
</div>
);
}