thaw/demo_markdown/docs/icon/mod.md
luoxiaozero 3684f5961b
demo: refactor docs (#67)
* demo: refactor docs

* demo: refactor docs

* demo: refactor guide docs

* chore: workflow add listens to the demo_markdown

* demo: refactor mobile docs
2024-01-03 20:52:56 +08:00

875 B

Icon

view! {
    <Space>
        <Icon icon=icondata::Icon::from(icondata::AiIcon::AiCloseOutlined)/>
        <Icon icon=icondata::Icon::from(icondata::AiIcon::AiCheckOutlined)/>
    </Space>
}

Icon Props

Name Type Default Desciption
class Option<MaybeSignal<String>> Default::default() HTML class attribute.
style Option<MaybeSignal<String>> Default::default() HTML style attribute.
icon MaybeSignal<Icon> The icon to show.
width Option<MaybeSignal<String>> 1em The width of the icon.
height Option<MaybeSignal<String>> 1em The height of the icon.