Checkbox
This is a basic true/false component.
const Example = () => (
<Form>
<Checkbox name="checkbox" label="Check me" />
</Form>
);
Props
name
(string, required): This will map to the key in the formlabel
(string): This will be displayed next to the checkboxvalue
(bool): This is the default value of the checkbox