pub fn MenuItem(props: MenuItemProps) -> impl IntoViewExpand description
§Required Props
- value:
impl Into<Signal<String>>- The value of the menu item.
- children:
Children
§Optional Props
- class:
impl Into<MaybeProp<String>> - icon:
impl Into<MaybeProp<icondata_core::Icon>>- The icon of the menu item.
- disabled:
impl Into<Signal<bool>>- Whether the menu item is disabled.