diff --git a/packages/react-core/src/components/Checkbox/Checkbox.tsx b/packages/react-core/src/components/Checkbox/Checkbox.tsx index 699bbe3d3ff..93b9816e4c0 100644 --- a/packages/react-core/src/components/Checkbox/Checkbox.tsx +++ b/packages/react-core/src/components/Checkbox/Checkbox.tsx @@ -8,10 +8,16 @@ import { ASTERISK } from '../../helpers/htmlConstants'; export interface CheckboxProps extends Omit, 'type' | 'onChange' | 'disabled' | 'label'>, OUIAProps { - /** Additional classes added to the checkbox. */ + /** 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 classed added to the radio input */ + /** Additional classes added to the checkbox input. */ inputClassName?: string; + /** Flag to indicate whether the checkbox wrapper element is a