pub fn MenuItem(props: MenuItemProps) -> impl IntoViewExpand description
A single selectable menu row that fires on_select on click or Enter/Space.
Passing a checked signal renders it as a checkbox item; disabled blocks
selection, and shortcut shows a trailing key hint.
§Required Props
- label:
impl Into<String>
§Optional Props
- shortcut:
impl Into<String> - checked:
Signal<bool> - disabled:
impl Into<Signal<bool>> - on_select:
Callback<()>