mirror of
https://github.com/yewprint/yewprint
synced 2024-11-24 12:33:04 +00:00
Clean up
This commit is contained in:
parent
07b65c3c93
commit
92bd8f3c65
1 changed files with 8 additions and 15 deletions
|
@ -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>()
|
||||
|
|
Loading…
Reference in a new issue