react-bootstrap/react-bootstrap

View on GitHub
src/Accordion.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Accordion has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  React.forwardRef<HTMLElement, AccordionProps>((props, ref) => {
    const {
      // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
      as: Component = 'div',
      activeKey,
Severity: Minor
Found in src/Accordion.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status