Skip to main content

tab_icon

Function tab_icon 

Source
pub fn tab_icon<E: Serialize>(
    label: impl Into<String>,
    icon: Icon,
    selected: bool,
    on_select: E,
) -> Tab
Expand description

A bottom-nav tab with a leading icon (icon tab bar).