Skip to main content

Checkbox

Import

import { Checkbox } from "@sparrowengg/twigs-react";

Usage

Result
Loading...
Live Editor

Props

PropertyDescriptionTypeDefault
checkedstate of the checkboxboolean,"indeterminate"false
defaultCheckedUncontrolled default state of checkboxboolean
disabledbooleanfalse
sizeSize of the checkboxsm mdsm
onChangeCallback function when checkbox is clickedfunction