2
0
Files
bot/packages/emails/components/HeroImage.tsx

16 lines
334 B
TypeScript
Raw Normal View History

import { MjmlImageProps, MjmlImage } from '@faire/mjml-react'
import React from 'react'
import { borderBase } from '../theme'
export const HeroImage = (props: MjmlImageProps) => (
<MjmlImage
cssClass="hero"
padding="0"
align="left"
borderRadius={borderBase}
{...props}
>
{props.children}
</MjmlImage>
)