Checkbox
Checkbox component with label support.
Beispiel
Beispiel:
Code
import { Checkbox } from '@document-writing-tools/kernux-react';
<Checkbox
label="Ich stimme zu, dass Kern toll ist"
required
/>Props:
label: string- Required label for the checkboxerrorMessage?: string- Error message to display- Extends all standard HTML input[type=“checkbox”] element props