UNPKG

@breakaway/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

51 lines (32 loc) 675 B
--- id: Checkbox section: components cssPrefix: pf-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' ```