From 7fd6e4f4530668665cf4cad21bd1dadd02e25e26 Mon Sep 17 00:00:00 2001 From: Xc <124118265@qq.com> Date: Fri, 2 Feb 2024 15:24:13 +0800 Subject: [PATCH] fix(components): [tabs] slot name use kebab-case style (#15733) * fix(components): [tabs] slot name use kebab-case style * fix(components): [tabs] slot name use kebab-case style * fix(components): [tabs] slot name use kebab-case style * docs(components): [tabs] use deprecated tag --- docs/en-US/component/tabs.md | 9 +++++---- .../tabs/customized-add-button-icon.vue | 2 +- packages/components/tabs/src/tabs.tsx | 17 +++++++++++++++-- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/docs/en-US/component/tabs.md b/docs/en-US/component/tabs.md index c3a116992d..ceed07b078 100644 --- a/docs/en-US/component/tabs.md +++ b/docs/en-US/component/tabs.md @@ -108,10 +108,11 @@ tabs/customized-trigger ## Tabs Slots -| Name | Description | Subtags | -| ---------------- | ------------------------- | -------- | -| - | customize default content | Tab-pane | -| addIcon ^(2.4.0) | customize add button icon | - | +| Name | Description | Subtags | +| ------------------------------ | ------------------------- | -------- | +| - | customize default content | Tab-pane | +| addIcon ^(2.4.0) ^(deprecated) | customize add button icon | - | +| add-icon ^(2.5.4) | customize add button icon | - | ## Tab-pane Attributes diff --git a/docs/examples/tabs/customized-add-button-icon.vue b/docs/examples/tabs/customized-add-button-icon.vue index 01a4b69abc..6befa9226b 100644 --- a/docs/examples/tabs/customized-add-button-icon.vue +++ b/docs/examples/tabs/customized-add-button-icon.vue @@ -7,7 +7,7 @@ addIcon editable @edit="handleTabsEdit" > -