Interactive testing environment for react-shared components
Current: Default
Checkbox input component with label and custom styling
Customize the checkbox properties and see the changes in real-time
Different checkbox states
Example of using multiple checkboxes together
Typical checkbox implementations
idstring - Unique identifier for the checkbox
labelReact.ReactNode - Label text for the checkbox
checkedboolean - Whether the checkbox is checked
onChange(e: ChangeEvent<HTMLInputElement>) => void - Change handler
valuestring | number | readonly string[] - The checkbox value
namestring - Name attribute for form submission
disabledboolean - Disables the checkbox
errorboolean - Shows error state styling
classNamestring - Additional CSS classes
childrenReact.ReactNode - Additional content after the label