mirror of
https://github.com/mathuo/dockview
synced 2025-02-13 20:05:46 +00:00
Merge pull request #328 from mathuo/321-add-hideclose-to-dockviewdefaulttab-component
docs: add note
This commit is contained in:
commit
493f843987
@ -632,6 +632,8 @@ A default implementation of `DockviewDefaultTab` is provided should you only wis
|
||||
changes and events that do not alter the default behaviour, for example to add a custom context menu event
|
||||
handler.
|
||||
|
||||
The `DockviewDefaulTab` component accepts a `hideClose` prop if you wish only to hide the close button.
|
||||
|
||||
```tsx title="Attaching a custom context menu event handlers to a custom header"
|
||||
import { IDockviewPanelHeaderProps, DockviewDefaultTab } from 'dockview';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user