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

Method create

src/icon.rs:23–29  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

21 type Properties = IconProps;
22
23 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
24 Self {
25 link,
26 // label: props.label,
27 // onsignal: props.onsignal,
28 }
29 }
30
31 fn update(&mut self, msg: Self::Message) -> ShouldRender {
32 // match msg {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected