Skip to content

Commit

Permalink
Will only throw once we remove implicit children
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Oct 14, 2021
1 parent 6ef1b28 commit 846c753
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/mjml-react/mjml-react-tests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function renderOutTestEmail() {
// TestMjmlDividerTag
{
const minProps: React.ReactNode = <MjmlDivider />;
const maxProps: React.ReactNode = <MjmlDivider>child</MjmlDivider>; // $ExpectError
const maxProps: React.ReactNode = <MjmlDivider>child</MjmlDivider>;
}
// TestMjmlGroupTag
{
Expand All @@ -186,7 +186,7 @@ function renderOutTestEmail() {
// TestMjmlImageTag
{
const minProps: React.ReactNode = <MjmlImage />;
const maxProps: React.ReactNode = <MjmlImage>child</MjmlImage>; // $ExpectError
const maxProps: React.ReactNode = <MjmlImage>child</MjmlImage>;
}
// TestMjmlNavbarTag
{
Expand All @@ -211,7 +211,7 @@ function renderOutTestEmail() {
// TestMjmlSpacerTag
{
const minProps: React.ReactNode = <MjmlSpacer />;
const maxProps: React.ReactNode = <MjmlSpacer>child</MjmlSpacer>; // $ExpectError
const maxProps: React.ReactNode = <MjmlSpacer>child</MjmlSpacer>;
}
// TestMjmlTableTag
{
Expand Down Expand Up @@ -258,7 +258,7 @@ function renderOutTestEmail() {
// MjmlCarouselImage
{
const minProps: React.ReactNode = <MjmlCarouselImage />;
const maxProps: React.ReactNode = <MjmlCarouselImage>child</MjmlCarouselImage>; // $ExpectError
const maxProps: React.ReactNode = <MjmlCarouselImage>child</MjmlCarouselImage>;
}
}
// TestMjmlSocialElementTag
Expand Down

0 comments on commit 846c753

Please sign in to comment.