Skip to main content

TabsProps

Type Alias TabsProps 

Source
pub type TabsProps = TabListProps;
Expand description

Alias for TabListProps.

Aliased Type§

pub struct TabsProps {
    pub active: Signal<usize>,
    pub tabs: Vec<TabDef>,
    pub pills: bool,
    pub fill: bool,
    pub justified: bool,
    pub class: String,
    pub content_class: String,
}

Fields§

§active: Signal<usize>

Signal controlling the active tab index.

§tabs: Vec<TabDef>

Tab definitions.

§pills: bool

Use pill style.

§fill: bool

Fill available width.

§justified: bool

Justify items equally.

§class: String

Additional CSS classes for the nav.

§content_class: String

Additional CSS classes for the tab content area.