FezVrasta/popper.js

View on GitHub
packages/react/src/components/FloatingDelayGroup.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function FloatingDelayGroup has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function FloatingDelayGroup(
  props: FloatingDelayGroupProps,
): JSX.Element {
  const {children, delay, timeoutMs = 0} = props;

Severity: Minor
Found in packages/react/src/components/FloatingDelayGroup.tsx - About 1 hr to fix

Function useDelayGroup has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useDelayGroup(
  context: FloatingContext,
  options: UseGroupOptions = {},
): GroupContext {
  const {open, onOpenChange, floatingId} = context;
Severity: Minor
Found in packages/react/src/components/FloatingDelayGroup.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status