Files
blitzkit/packages/bot/src/components/CommandWrapper.tsx
T
2024-09-08 10:11:24 -05:00

27 lines
579 B
TypeScript

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