superset-frontend/src/components/DropdownContainer/DropdownContainer.stories.tsx
Function Component
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const Component = (props: DropdownContainerProps) => {
const [items, setItems] = useState<ItemsType>([]);
const [overflowingState, setOverflowingState] = useState<OverflowingState>();
const containerRef = useRef<Ref>(null);
const onOverflowingStateChange = useCallback(