src/js/tabscontrolled/index.js
Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render () {
const width = 100 / this.props.tabs.length
const left = this.props.index * width
const right = (this.props.tabs.length - this.props.index - 1) * width
return (
Parsing error: Unexpected token = Open
Open
static propTypes = {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/