⬆️ Upgrade dependencies

This commit is contained in:
Baptiste Arnaud
2022-11-21 19:08:14 +01:00
parent b29f7325ad
commit 34cfd1db30
35 changed files with 674 additions and 739 deletions

View File

@@ -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>
/>
)

View File

@@ -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}