HBM/md-components

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

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render () {
    // state handling & event handlers are necessary to mimic
    // native radio behaviour, which requires differentiating between
    // focus by keyboard and focus by mouse/touch interaction.
    const {name, selectedValue, items, onChange} = this.props
Severity: Minor
Found in src/js/radiobutton/index.js - About 1 hr to fix

    Parsing error: Unexpected token =
    Open

      state = {
    Severity: Minor
    Found in src/js/radiobutton/index.js by eslint

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

    There are no issues that match your filters.

    Category
    Status