pub fn Icon(_: IconProps) -> ElementExpand description
A registered icon, tinted by a role. Host::register_icon registers the meaning rather
than a picture, so the same declaration comes out as the icon each design system draws.
ยงProps
For details, see the props struct definition.
weight:Option<f32>width:Option<f32>height:Option<f32>padding:Option<f32>padding_role:Option<SpaceRole>background:Option<Paint>shape_role:Option<ShapeRole>corner_radius:Option<f32>border_width:Option<f32>border_color:Option<Paint>elevation:Option<f32>fill_max_width:boolfill_max_height:boolasset_id:u32color:Option<Paint>