gilbarbara/react-dropdown

View on GitHub
demo/src/components/ExternalControls.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function CustomStyles has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function CustomStyles() {
  const [isOpen, setOpen] = useState(false);
  const [values, setValues] = useState<Option[]>([options[0]]);

  const handleOnChange = (selectedValues: Option[]) => {
Severity: Major
Found in demo/src/components/ExternalControls.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status