⬆️ Upgrade dependencies
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
import { MjmlImageProps, MjmlImage } from '@faire/mjml-react'
|
||||
import React from 'react'
|
||||
import { IMjmlImageProps, MjmlImage } from '@faire/mjml-react'
|
||||
import { borderBase } from '../theme'
|
||||
|
||||
export const HeroImage = (props: MjmlImageProps) => (
|
||||
export const HeroImage = (props: IMjmlImageProps) => (
|
||||
<MjmlImage
|
||||
cssClass="hero"
|
||||
padding="0"
|
||||
align="left"
|
||||
borderRadius={borderBase}
|
||||
{...props}
|
||||
>
|
||||
{props.children}
|
||||
</MjmlImage>
|
||||
/>
|
||||
)
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { MjmlText, MjmlTextProps, PaddingProps } from '@faire/mjml-react'
|
||||
import React from 'react'
|
||||
import { MjmlText, IMjmlTextProps } from '@faire/mjml-react'
|
||||
import { leadingRelaxed, textBase } from '../theme'
|
||||
|
||||
export const Text = (props: MjmlTextProps & PaddingProps) => (
|
||||
export const Text = (props: IMjmlTextProps) => (
|
||||
<MjmlText
|
||||
padding="24px 0 0"
|
||||
fontSize={textBase}
|
||||
|
||||
Reference in New Issue
Block a user