Skip to content

Commit

Permalink
Revert MjmlFont test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Nov 5, 2021
1 parent 89bc1fc commit a4ed8d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions types/mjml-react/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class MjmlBody extends React.Component<MjmlBodyProps & ClassNameProps> {

// mj-font
export interface MjmlFontProps {
children?: React.ReactNode;
href?: string | undefined;
name?: string | undefined;
}
Expand Down
6 changes: 5 additions & 1 deletion types/mjml-react/mjml-react-tests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ function renderOutTestEmail() {
// TestMjmlFontTag
{
const minProps: React.ReactNode = <MjmlFont />;
const maxProps: React.ReactNode = <MjmlFont href="" name="" />;
const maxProps: React.ReactNode = (
<MjmlFont href="" name="">
child
</MjmlFont>
);
}
// TestMjmlPreviewTag
{
Expand Down

0 comments on commit a4ed8d5

Please sign in to comment.