| 20 | /// [Documentation for properties](https://github.com/material-components/material-components-web-components/tree/master/packages/button#propertiesattributes) |
| 21 | #[derive(Clone, PartialEq, Properties)] |
| 22 | pub struct ButtonProps { |
| 23 | pub label: String, |
| 24 | #[prop_or_default] |
| 25 | pub icon: Option<String>, |
| 26 | #[prop_or_default] |
| 27 | pub raised: bool, |
| 28 | #[prop_or_default] |
| 29 | pub unelevated: bool, |
| 30 | #[prop_or_default] |
| 31 | pub outlined: bool, |
| 32 | #[prop_or_default] |
| 33 | pub dense: bool, |
| 34 | #[prop_or_default] |
| 35 | pub disabled: bool, |
| 36 | #[prop_or_default] |
| 37 | pub trailing_icon: bool, |
| 38 | #[prop_or_default] |
| 39 | pub onclick: Callback<()>, |
| 40 | } |
| 41 | |
| 42 | // label=props.label |
| 43 | // icon?=props.icon.as_ref() |
nothing calls this directly
no outgoing calls
no test coverage detected