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

Class IconButtonProps

src/icon_button.rs:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16/// [Documentation for properties](https://github.com/material-components/material-components-web-components/tree/master/packages/icon-button#propertiesattributes)
17#[derive(Clone, PartialEq, Properties)]
18pub struct IconButtonProps {
19 #[prop_or_default]
20 pub label: String,
21 #[prop_or_default]
22 pub icon: String,
23 #[prop_or_default]
24 pub disabled: bool,
25 #[prop_or_default]
26 pub children: Children,
27}
28
29// label=props.label
30// icon=props.icon

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected