Gishen-Email-Template/emails/components/Card.tsx
Kirubel-Kibru-Yaltopia f9fa3bc83b feat: add Gishen React Email demo with en/am templates
Ship 23 transactional templates, shared brand tokens/logo, preview UI,
render API, CHANGELOG, and docs for Ecom/Admin/B2B consumers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 22:12:21 +03:00

20 lines
438 B
TypeScript

import React from 'react';
import { Section } from '@react-email/components';
import { theme } from '../theme';
interface CardProps {
children: React.ReactNode;
}
export const Card = ({ children }: CardProps) => (
<Section style={card}>{children}</Section>
);
const card = {
backgroundColor: theme.colors.cream,
border: `1px solid ${theme.colors.line}`,
borderRadius: '10px',
padding: '16px 18px',
margin: '0 0 20px',
};