freya_componentsFunction SidebarItem
Source pub fn SidebarItem(_: SidebarItemProps) -> Element
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.
overflow
: String
Optionally specify a custom overflow
attribute for this component. Defaults to clip
.