Function freya::components::MenuButton

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

Like a button, but for [Menu]s.

§Props

For details, see the props struct definition.

  • children : Element

    Inner children for the MenuButton

  • onclick : Option<EventHandler<Option<MouseEvent>>>

    Handler for the onclick event.