Function freya::prelude::SidebarItem

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

Props

For details, see the props struct definition.

  • children : Element

    Inner content for the SidebarItem.

  • onclick : Option<EventHandler<()>>

    Optionally handle the onclick event in the SidebarItem.