Function freya::components::SidebarItem

source ·
pub fn SidebarItem(_: SidebarItemProps) -> Result<VNode, RenderError>
Expand description

§Props

For details, see the props struct definition.

  • theme : Option<SidebarItemThemeWith>

    Theme override.

  • children : Element

    Inner content for the SidebarItem.

  • onclick : Option<EventHandler<()>>

    Optionally handle the onclick event in the SidebarItem.