import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Check/check'; import { css } from '@patternfly/react-styles'; import { PickOptional } from '../../helpers/typeUtils'; import { getDefaultOUIAId, getOUIAProps, OUIAProps } from '../../helpers'; import { ASTERISK } from '../../helpers/htmlConstants'; export interface CheckboxProps extends Omit, 'type' | 'onChange' | 'disabled' | 'label'>, OUIAProps { /** Additional classes added to the checkbox wrapper. This wrapper will be div element by default. It will be a label element if * isLabelWrapped is true, or it can be overridden by any element specified in the component prop. */ className?: string; /** Additional classes added to the checkbox input. */ inputClassName?: string; /** Flag to indicate whether the checkbox wrapper element is a