boldr/boldr-ui

View on GitHub
src/util/Collapse.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  render() {
    const { height, paddingTop, paddingBottom, initialOpen } = this.state;
    const {
      children,
      collapsed,
Severity: Minor
Found in src/util/Collapse.js - About 1 hr to fix

    Parsing error: The keyword 'import' is reserved
    Open

    import React, { PureComponent, Children, cloneElement } from 'react';
    Severity: Minor
    Found in src/util/Collapse.js by eslint

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

    There are no issues that match your filters.

    Category
    Status