Skip to content

Commit

Permalink
docs: Add Stack with tabs to dashboard docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Nov 28, 2024
1 parent e1559a4 commit d180e4f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions plugins/ui/docs/components/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,25 @@ dash_stack = ui.dashboard(
)
```

### Stack with tabs

```python
from deephaven import ui

dash_stack = ui.dashboard(
ui.stack(
ui.panel(
ui.tabs(ui.tab("A1 content", title="A1"), ui.tab("A2 content", title="A2")),
title="A",
),
ui.panel(
ui.tabs(ui.tab("B1 content", title="B1"), ui.tab("B2 content", title="B2")),
title="B",
),
)
)
```

### Stack in a layout

```python
Expand Down

0 comments on commit d180e4f

Please sign in to comment.