From a8d9ca03e13d621cb3a067e88283667dd04b17c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=D3=84=D5=A1?= Date: Fri, 31 May 2024 10:17:10 +0800 Subject: [PATCH] fix(docs): move destroyInactiveTabPanel to Tabs prop (#3130) --- apps/docs/content/docs/components/tabs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs/components/tabs.mdx b/apps/docs/content/docs/components/tabs.mdx index af20b8c657..1d83252dee 100644 --- a/apps/docs/content/docs/components/tabs.mdx +++ b/apps/docs/content/docs/components/tabs.mdx @@ -265,6 +265,7 @@ You can customize the `Tabs` component by passing custom Tailwind CSS classes to | classNames | `Record<"base"| "tabList"| "tab"| "tabContent"| "cursor" | "panel", string>` | Allows to set custom class names for the card slots. | - | | placement | `top` \| `bottom` \| `start` \| `end` | The position of the tabs. | `top` | | isVertical | `boolean` | Whether the tabs are vertical. | `false` | +| destroyInactiveTabPanel | `boolean` | Whether to destroy inactive tab panel when switching tabs. Inactive tab panels are inert and cannot be interacted with. | `true` | ### Tabs Events @@ -286,7 +287,6 @@ You can customize the `Tabs` component by passing custom Tailwind CSS classes to | ping | `string` | A space-separated list of URLs to ping when the link is followed. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#ping). | - | | referrerPolicy | `HTMLAttributeReferrerPolicy` | How much of the referrer to send when following the link. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#referrerpolicy). | - | | shouldSelectOnPressUp | `boolean` | Whether the tab selection should occur on press up instead of press down. | - | -| destroyInactiveTabPanel | `boolean` | Whether to destroy inactive tab panel when switching tabs. Inactive tab panels are inert and cannot be interacted with. | `true` | #### Motion Props