MCPcopy Create free account
hub / github.com/angular-rust/yew-components / PieChartProps

Class PieChartProps

src/piechart.rs:28–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26/// [Documentation for properties](https://github.com/material-components/material-components-web-components/tree/master/packages/button#propertiesattributes)
27#[derive(Clone, PartialEq, Properties)]
28pub struct PieChartProps {
29 pub label: String,
30 #[prop_or_default]
31 pub icon: Option<String>,
32 #[prop_or_default]
33 pub raised: bool,
34 #[prop_or_default]
35 pub unelevated: bool,
36 #[prop_or_default]
37 pub outlined: bool,
38 #[prop_or_default]
39 pub dense: bool,
40 #[prop_or_default]
41 pub disabled: bool,
42 #[prop_or_default]
43 pub trailing_icon: bool,
44 #[prop_or_default]
45 pub onclick: Callback<()>,
46}
47
48// label=props.label
49// icon?=props.icon.as_ref()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected