src/components/ButtonGroup.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ButtonGroup has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function ButtonGroup(props: ButtonGroupProps): JSX.Element {
  const [selected, setSelected] = useState<string>(props.initial)
  const [bgLeft, setBgLeft] = useState(0)
  const ref = useRef<HTMLButtonElement>()

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

    There are no issues that match your filters.

    Category
    Status