Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathuo committed Apr 28, 2024
1 parent db9703a commit d0eda81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/docs/docs/core/panels/add.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ To open a panel requires a unique `id` and the name of the `component` to render
const panel: IDockviewPanel = api.addPanel({
id: 'my_unique_panel_id',
component: 'my_component',
// optionally set `inactive: true` to prevent the added panel becoming active automatically
inactive: true
});
```


> See [Overview](/docs/core/overview) to register components.
## Providing a Panel Title
Expand Down

0 comments on commit d0eda81

Please sign in to comment.