src/components/CheckBox/component.tsx
Function component
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
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();
}, []);