Function freya_components::SidebarItem

source ·
pub fn SidebarItem(__props: SidebarItemProps) -> Element
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.