Skip to main content

Tag

Function Tag 

Source
pub fn Tag(props: TagProps) -> Element
Expand description

Tag component for displaying status, categories or labels

§Example

rsx! {
    Tag { tag_type: TagType::Success, "Success" }
    Tag { tag_type: TagType::Warning, closable: true, "Warning" }
}