This commit is contained in:
yozhgoor 2021-03-11 00:36:30 +01:00
parent 07b65c3c93
commit 92bd8f3c65

View file

@ -79,12 +79,11 @@ impl Component for Example {
)
};
html! {
<>
<Tag
active=self.props.active
fill=self.props.fill
icon=self.props.icon.as_some(IconName::Print)
intent=self.props.intent
<Tag
active=self.props.active
fill=self.props.fill
icon=self.props.icon.as_some(IconName::Print)
intent=self.props.intent
interactive=self.props.interactive
large=self.props.large
minimal=self.props.minimal
@ -94,15 +93,9 @@ impl Component for Example {
onremove=remove
href="#tag"
onclick=self.link.callback(|_| ExampleMsg::Click)
>
{label.clone()}
</Tag>
<Tag
interactive=self.props.interactive
>
{"test"}
</Tag>
</>
>
{label.clone()}
</Tag>
}
})
.collect::<Html>()