| 24 | /// - [Events](https://github.com/material-components/material-components-web-components/tree/master/packages/checkbox#events) |
| 25 | #[derive(Clone, PartialEq, Properties)] |
| 26 | pub struct CheckboxProps { |
| 27 | #[prop_or_default] |
| 28 | pub checked: bool, |
| 29 | #[prop_or_default] |
| 30 | pub indeterminate: bool, |
| 31 | #[prop_or_default] |
| 32 | pub disabled: bool, |
| 33 | #[prop_or_default] |
| 34 | pub value: String, |
| 35 | #[prop_or_default] |
| 36 | pub reduced_touch_target: bool, |
| 37 | /// Binds to `change` event on `checkbox` |
| 38 | /// |
| 39 | /// See events docs to learn more. |
| 40 | #[prop_or_default] |
| 41 | pub onchange: Callback<bool>, |
| 42 | } |
| 43 | |
| 44 | impl Component for Checkbox { |
| 45 | type Message = (); |
nothing calls this directly
no outgoing calls
no test coverage detected