freya::components

Function 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.

  • onpress : Option<EventHandler<()>>

    Optionally handle the onpress event in the SidebarItem.