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

Class DrawerItemProps

src/drawer.rs:271–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269/// [Documentation for properties](https://github.com/material-components/material-components-web-components/tree/master/packages/button#propertiesattributes)
270#[derive(Debug, Properties, Clone)]
271pub struct DrawerItemProps {
272 pub label: String,
273 #[prop_or_default]
274 pub icon: String,
275 #[prop_or_default]
276 pub raised: bool,
277 #[prop_or_default]
278 pub unelevated: bool,
279 #[prop_or_default]
280 pub outlined: bool,
281 #[prop_or_default]
282 pub dense: bool,
283 #[prop_or_default]
284 pub disabled: bool,
285 #[prop_or_default]
286 pub trailing_icon: bool,
287 // #[prop_or_default]
288 // pub onsignal: Callback<()>,
289}
290
291// label=props.label
292// icon?=props.icon.as_ref()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected