Checkbox

Checkboxes are used to let a user choose one or more options from a limited number of options. You can also use this component for one option only.

Preview

<Checkbox
            name="checkboxgroup"
            options={singleCheckbox}
            checked={selectedDefault}
            setChecked={setSelectedDefault}
          ></Checkbox> 
NameParamsDescription
optionsThe props 'options' will receive several options as an array of string
nameWhen two or more checkbox have the same name, they will automatically be in the same group
disabledthe props 'disabled' that is added to the component will make the component unable to be checked
checkedthe props 'selected' will receive a state as props
setCheckedthe props 'setSelected' will receive a setState as props