HBM/md-components

View on GitHub
src/js/tabscontrolled/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 28 lines of code (exceeds 25 allowed). Consider refactoring.
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 (
Severity: Minor
Found in src/js/tabscontrolled/index.js - About 1 hr to fix

    Parsing error: Unexpected token =
    Open

      static propTypes = {
    Severity: Minor
    Found in src/js/tabscontrolled/index.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status