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

Method create

src/icon_button.rs:38–44  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

36 type Properties = IconButtonProps;
37
38 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
39 Self {
40 link,
41 label: props.label,
42 // onsignal: props.onsignal,
43 }
44 }
45
46 fn update(&mut self, msg: Self::Message) -> ShouldRender {
47 match msg {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected