chore: enable no-static-element-interactions eslint rule (#10351)

This commit is contained in:
Erik Ritter
2020-07-17 09:19:16 -07:00
committed by GitHub
parent aaad4522f0
commit 5984df3522
16 changed files with 43 additions and 6 deletions

View File

@@ -86,6 +86,8 @@ export default class ControlHeader extends React.Component {
<ControlLabel>
{this.props.leftNode && <span>{this.props.leftNode}</span>}
<span
role="button"
tabIndex={0}
onClick={this.props.onClick}
className={labelClass}
style={{ cursor: this.props.onClick ? 'pointer' : '' }}