diff --git a/api-generator/components/dock.js b/api-generator/components/dock.js index 3920dba71..c8800bfb1 100644 --- a/api-generator/components/dock.js +++ b/api-generator/components/dock.js @@ -41,6 +41,10 @@ const DockSlots = [ { name: "item", description: "Custom content for the item." + }, + { + name: "icon", + description: "Custom content for the item." } ]; diff --git a/src/components/dock/Dock.d.ts b/src/components/dock/Dock.d.ts index 9ea7619bd..cef2af843 100644 --- a/src/components/dock/Dock.d.ts +++ b/src/components/dock/Dock.d.ts @@ -13,6 +13,7 @@ declare class Dock { $props: DockProps; $slots: { 'item': VNode[]; + 'icon': VNode[]; } } diff --git a/src/components/dock/Dock.vue b/src/components/dock/Dock.vue index 29a96a110..1f41aa9b9 100644 --- a/src/components/dock/Dock.vue +++ b/src/components/dock/Dock.vue @@ -1,6 +1,6 @@ diff --git a/src/components/dock/DockSub.vue b/src/components/dock/DockSub.vue index 458016d83..1a72683ed 100644 --- a/src/components/dock/DockSub.vue +++ b/src/components/dock/DockSub.vue @@ -2,25 +2,25 @@