Amba-Emails/emails/components/Card.tsx
2025-12-14 22:05:15 +03:00

22 lines
447 B
TypeScript

import { Section, Text } from '@react-email/components';
import { theme } from '../theme';
interface CardProps {
children: React.ReactNode;
}
export const Card = ({ children }: CardProps) => {
return (
<Section
style={{
backgroundColor: theme.colors.accentLight,
borderRadius: '8px',
padding: theme.spacing.md,
margin: `${theme.spacing.md} 0`,
}}
>
{children}
</Section>
);
};