testokur/testokur-ui

View on GitHub
src/components/CheckBox/component.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function component has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const component = React.forwardRef<HTMLInputElement, Props>((props: Props, ref) => {
  const { checked, disabled, onChange, dataTestId, value, name, tabIndex, readOnly, info, label } = props;
  const preventOnClick = useCallback(ev => {
    ev.preventDefault();
  }, []);
Severity: Minor
Found in src/components/CheckBox/component.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status