diff --git a/packages/react-core/src/components/Checkbox/examples/Checkbox.md b/packages/react-core/src/components/Checkbox/examples/Checkbox.md index ded0812e34f..ec4499f7693 100644 --- a/packages/react-core/src/components/Checkbox/examples/Checkbox.md +++ b/packages/react-core/src/components/Checkbox/examples/Checkbox.md @@ -6,46 +6,52 @@ cssPrefix: pf-v5-c-check propComponents: ['Checkbox'] --- -import './checkbox.css'; - ## Examples ### Controlled ```ts file='./CheckboxControlled.tsx' + ``` ### Uncontrolled ```ts file='./CheckboxUncontrolled.tsx' + ``` ### Disabled ```ts file='./CheckboxDisabled.tsx' + ``` ### Checkbox with description ```ts file='./CheckboxWithDescription.tsx' + ``` ### Checkbox with body ```ts file='./CheckboxWithBody.tsx' + ``` ### Checkbox with description and body ```ts file='./CheckboxWithDescriptionBody.tsx' + ``` ### Standalone input ```ts file='./CheckboxStandaloneInput.tsx' + ``` ### Required input ```ts file='./CheckboxRequired.tsx' + ``` diff --git a/packages/react-core/src/components/Checkbox/examples/CheckboxControlled.tsx b/packages/react-core/src/components/Checkbox/examples/CheckboxControlled.tsx index 9c1e49f4e4c..3881eaf0700 100644 --- a/packages/react-core/src/components/Checkbox/examples/CheckboxControlled.tsx +++ b/packages/react-core/src/components/Checkbox/examples/CheckboxControlled.tsx @@ -49,22 +49,24 @@ export const CheckboxControlled: React.FunctionComponent = () => { onChange={handleChange} id="controlled-check-1" name="check1" - /> - - + + + + } />