Function freya::prelude::SubMenu

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

Create sub menus inside a [Menu].

§Props

For details, see the props struct definition.

  • menu : Element

    Submenu configuration.

  • children : Element

    Inner children for the MenuButton