Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Bender <[email protected]>
  • Loading branch information
dgodinez-dh and mofojed authored Dec 9, 2024
1 parent 3b24bb2 commit 183f80d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/ui/docs/components/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/ui/docs/components/menu_trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 183f80d

Please sign in to comment.