From 2ce175dbf3045fca059fe26b67ee6efbe59f233e Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Sun, 27 Aug 2023 21:59:53 +0100 Subject: [PATCH] docs: add note --- packages/docs/docs/components/dockview.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/docs/docs/components/dockview.mdx b/packages/docs/docs/components/dockview.mdx index 01cbb2717..18904de45 100644 --- a/packages/docs/docs/components/dockview.mdx +++ b/packages/docs/docs/components/dockview.mdx @@ -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';