Function freya::components::SidebarItem

source ·
pub fn SidebarItem(__props: SidebarItemProps) -> Option<VNode>
Expand description

§Props

For details, see the props struct definition.

  • children : Element

    Inner content for the SidebarItem.

  • onpress : Option<EventHandler<()>>

    Optionally handle the onpress event in the SidebarItem.