airbnb/caravel

View on GitHub
superset-frontend/src/components/DropdownContainer/DropdownContainer.stories.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Component has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const Component = (props: DropdownContainerProps) => {
  const [items, setItems] = useState<ItemsType>([]);
  const [overflowingState, setOverflowingState] = useState<OverflowingState>();
  const containerRef = useRef<Ref>(null);
  const onOverflowingStateChange = useCallback(

    There are no issues that match your filters.

    Category
    Status