mirror of
https://github.com/strapi/strapi.git
synced 2026-01-08 05:04:10 +00:00
disable eslint to use bootstrap checkbox group
This commit is contained in:
parent
d778314b85
commit
cf70cd69a5
@ -8,14 +8,8 @@ import React from 'react';
|
||||
import styles from './styles.scss';
|
||||
|
||||
class InputToggle extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
/* eslint-disable react/jsx-no-duplicate-props */
|
||||
const btnClassOff = this.props.isChecked ? 'btn ' : `btn ${styles.gradientOff}`;
|
||||
const btnClassOn = this.props.isChecked ? `btn ${styles.gradientOn}` : 'btn';
|
||||
const customBootstrapClass = this.props.customBootstrapClass ? this.props.customBootstrapClass : 'col-md-4';
|
||||
|
||||
@ -9,7 +9,6 @@ import { connect } from 'react-redux';
|
||||
import Helmet from 'react-helmet';
|
||||
import PluginLeftMenu from 'components/PluginLeftMenu';
|
||||
import InputToggle from 'components/InputToggle';
|
||||
import InputText from 'components/InputText';
|
||||
import selectHome from './selectors';
|
||||
import styles from './styles.scss';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user