Skip to main content

sample_nav_items

Function sample_nav_items 

Source
pub fn sample_nav_items(extra_count: bool) -> Vec<NavItemView>
Expand description

Default nav rail items for Screen Studio.

extra_count adds a notification badge to the Library item so the nav-rail-with-counts story can demonstrate that variant without owning the variant logic inside the story body.