Skip to main content

Checkbox

Function Checkbox 

Source
pub fn Checkbox(_: CheckboxProps) -> Element
Expand description

A labelled native checkbox.

Pass checked to control it, or default_checked to let it hold its own state. onchange receives the new checked value; a mixed checkbox becomes checked when clicked, as the platform does.

ยงProps

For details, see the props struct definition.