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

Class CardProps

src/card.rs:33–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected