thaw/demo_markdown/docs/icon/mod.md
Yota 3ea0afa7af Update icondata (#82)
* Update icondata

* merge upstream

* feat: update icondata

---------

Co-authored-by: luoxiaozero <48741584+luoxiaozero@users.noreply.github.com>
Co-authored-by: luoxiao <luoxiaozero@163.com>
2024-02-09 22:47:46 +08:00

815 B

Icon

view! {
    <Space>
        <Icon icon=icondata::AiCloseOutlined/>
        <Icon icon=icondata::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.