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

Class ChipProps

src/chip.rs:25–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected