app/react/Layout/ToggleDisplay.js
Definition for rule 'node/no-restricted-import' was not found. Open
Open
import PropTypes from 'prop-types';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Missing an explicit type attribute for button Open
Open
{this.state.show && <button onClick={this.hide}>{this.props.hideLabel}</button>}
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Missing an explicit type attribute for button Open
Open
{!this.state.show && <button onClick={this.show}>{this.props.showLabel}</button>}
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Prefer named exports. Open
Open
export default ToggleDisplay;
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/