Home Reference Source
public class | source

CheckBox

Extends:

react~Component → CheckBox

Two state component that toggles between a checked state with a check mark and an unchecked state.

Static Member Summary

Static Public Members
public static

propTypes: {"ariaLabel": *, "ariaDescribedBy": *, "onValueChange": *, "value": *, "label": *, "indeterminate": *, "disabled": *, "hidden": *, "tabIndex": *, "onKeyDown": *, "onFocus": *, "inputRef": *}

PropTypes

Static Public Members

public static propTypes: {"ariaLabel": *, "ariaDescribedBy": *, "onValueChange": *, "value": *, "label": *, "indeterminate": *, "disabled": *, "hidden": *, "tabIndex": *, "onKeyDown": *, "onFocus": *, "inputRef": *} source

PropTypes

Properties:

NameTypeAttributeDescription
tabIndex number
  • optional

Sets tabindex attribute on the primary element tag to modify the tab order.

indeterminate boolean
  • optional
  • default: false

Displays a square instead of a check mark regardless of checked state.

label string
  • optional

Specifies a text label to appear next to the check box.