diff --git a/plugins/ui/docs/components/menu.md b/plugins/ui/docs/components/menu.md index 913444db9..fe6793722 100644 --- a/plugins/ui/docs/components/menu.md +++ b/plugins/ui/docs/components/menu.md @@ -58,7 +58,7 @@ my_open_action_example = open_action_example() ## Selection -Menu supports multiple selection modes. By default, selection is disabled, however this can be changed using the `selection_mode` prop. Use `default_selected_keys` to provide a default set of selected items (uncontrolled) and `selected_keys` to set the selected items (controlled). The value of the selected keys must match the key prop of the items. +Menu supports multiple selection modes. By default, selection is disabled, however this can be changed using the `selection_mode` prop. Use `default_selected_keys` to provide a default set of selected items (uncontrolled) or `selected_keys` to set the selected items (controlled). The value of the selected keys must match the key prop of the items. ```python from deephaven import ui diff --git a/plugins/ui/docs/components/menu_trigger.md b/plugins/ui/docs/components/menu_trigger.md index a67200334..34071e8e4 100644 --- a/plugins/ui/docs/components/menu_trigger.md +++ b/plugins/ui/docs/components/menu_trigger.md @@ -24,7 +24,7 @@ The `menu_trigger` accepts exactly two children: the element which triggers the ## Events -`menu_trigger` accepts an `on_open_chnage` handler which is triggered whenever the `menu` is opened or closed. +`menu_trigger` accepts an `on_open_change` handler which is triggered whenever the `menu` is opened or closed. ```python from deephaven import ui