Skip to content

Commit

Permalink
Update plugins/ui/DESIGN.md
Browse files Browse the repository at this point in the history
Co-authored-by: Don <dsmmcken@gmail.com>
  • Loading branch information
mofojed and dsmmcken authored Oct 17, 2023
1 parent b37bcc6 commit 39b148c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ui/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ By default, the top level `@ui.component` will automatically be wrapped in a pan

```py
# The only difference between this and `p = my_component()` is that the title of the panel will be set to `My Title`
p = ui.panel(my_component(), title="My Title")
p = ui.panel(my_component(), label="My Tab Label")
```

A panel cannot be nested within other components (other than the layout ones such as `ui.row`, `ui.column`, `ui.stack`, `ui.dashboard`). The basic syntax for creating a `UIPanel` is:
Expand Down

0 comments on commit 39b148c

Please sign in to comment.