Function freya::components::SidebarItem

pub fn SidebarItem(__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.