Skip to content

Commit

Permalink
chore(mjml-react): lint --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mastertheblaster committed Feb 24, 2022
1 parent 0a17a43 commit 2ca7663
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions src/mjml-html-attribute.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { node } from "prop-types";
import React, { Component } from 'react';
import { node } from 'prop-types';

import { handleMjmlProps } from "./utils";
import { handleMjmlProps } from './utils';

export class MjmlHtmlAttribute extends Component {
static propTypes = {
Expand All @@ -11,9 +11,9 @@ export class MjmlHtmlAttribute extends Component {
render() {
const { children, ...rest } = this.props;
return React.createElement(
"mj-html-attribute",
'mj-html-attribute',
handleMjmlProps(rest),
children
children,
);
}
}
10 changes: 5 additions & 5 deletions src/mjml-html-attributes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { node } from "prop-types";
import React, { Component } from 'react';
import { node } from 'prop-types';

import { handleMjmlProps } from "./utils";
import { handleMjmlProps } from './utils';

export class MjmlHtmlAttributes extends Component {
static propTypes = {
Expand All @@ -11,9 +11,9 @@ export class MjmlHtmlAttributes extends Component {
render() {
const { children, ...rest } = this.props;
return React.createElement(
"mj-html-attributes",
'mj-html-attributes',
handleMjmlProps(rest),
children
children,
);
}
}
8 changes: 4 additions & 4 deletions src/mjml-selector.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { node } from "prop-types";
import React, { Component } from 'react';
import { node } from 'prop-types';

import { handleMjmlProps } from "./utils";
import { handleMjmlProps } from './utils';

export class MjmlSelector extends Component {
static propTypes = {
Expand All @@ -10,6 +10,6 @@ export class MjmlSelector extends Component {

render() {
const { children, ...rest } = this.props;
return React.createElement("mj-selector", handleMjmlProps(rest), children);
return React.createElement('mj-selector', handleMjmlProps(rest), children);
}
}

0 comments on commit 2ca7663

Please sign in to comment.