Checkbox
Used to confirm terms and check boolean types.
Props:
checked
Checked boolean value. Type: Boolean. Required.
onChange
Callback when checked state changes. Type: Function. Required.
Code
<CheckBox checked={checkBox} onChange={() => setCheckBox(!checkBox)} />