gilbarbara/react-dropdown

View on GitHub
src/components/Input.tsx

Summary

Maintainability
A
2 hrs
Test Coverage
A
92%

Function Input has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function Input(props: ComponentProps) {
  const {
    methods: { createItem, getInputSize, getStyles, setSearch },
    props: { autoFocus, create, disabled, inputComponent, options, searchable },
    state: { cursor, search, status, values },
Severity: Major
Found in src/components/Input.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status