Skip to content

Commit

Permalink
Fixed naming convention in examples (deephaven#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed May 21, 2024
1 parent 6881f0f commit 0c3ee53
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plugins/ui/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ An ActionGroup is a grouping of ActionButtons that are related to one another.

```python
@ui.component
def action_group():
def ui_action_group():
[action, on_action] = ui.use_state()

return ui.flex(
Expand All @@ -223,15 +223,15 @@ def action_group():
)


ag = action_group()
my_action_group = ui_action_group()
```

## ActionMenu (string values)
ActionMenu combines an ActionButton with a Menu for simple "more actions" use cases.

```python
@ui.component
def action_menu():
def ui_action_menu():
[action, on_action] = ui.use_state()

return ui.flex(
Expand All @@ -246,7 +246,7 @@ def action_menu():
)


ag = action_menu()
my_action_menu = ui_action_menu()
```

## Picker (string values)
Expand Down Expand Up @@ -560,11 +560,11 @@ def ui_list_view_action_group():
return lv, text_selection, text_action


lv_action_group = ui_list_view_action_group()
my_list_view_action_group = ui_list_view_action_group()
```

## ListView (list action menu)
A list view can take a `list_view_menu` as its `actions` prop.
A list view can take a `list_action_menu` as its `actions` prop.

```python
from deephaven import time_table, ui
Expand Down Expand Up @@ -613,7 +613,7 @@ def ui_list_view_action_menu():
return lv, text_selection, text_action


lv_action_menu = ui_list_view_action_menu()
my_list_view_action_menu = ui_list_view_action_menu()
```

## Form (two variables)
Expand Down

0 comments on commit 0c3ee53

Please sign in to comment.