From 83922e6c99a1c235cdc6a25358161cbdbf66e100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 1 Dec 2021 11:18:36 +0300 Subject: [PATCH] Revert "Fixed #1780 - Fix typings for renamed slots of Toolbar" This reverts commit 6a9346d01b0efdd7cb48eceb380e4192a8ebd09d. --- api-generator/components/toolbar.js | 4 ++-- src/components/toolbar/Toolbar.d.ts | 4 ++-- src/components/toolbar/Toolbar.vue | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api-generator/components/toolbar.js b/api-generator/components/toolbar.js index 96851ae87..3a10deb5b 100644 --- a/api-generator/components/toolbar.js +++ b/api-generator/components/toolbar.js @@ -1,10 +1,10 @@ const ToolbarSlots = [ { - name: "start", + name: "left", description: "Custom content for the component's left side" }, { - name: "end", + name: "right", description: "Custom content for the component's right side" } ]; diff --git a/src/components/toolbar/Toolbar.d.ts b/src/components/toolbar/Toolbar.d.ts index acb8da43c..09319660f 100755 --- a/src/components/toolbar/Toolbar.d.ts +++ b/src/components/toolbar/Toolbar.d.ts @@ -5,8 +5,8 @@ interface ToolbarProps {} declare class Toolbar { $props: ToolbarProps; $slots: { - start: VNode[]; - end: VNode[]; + left: VNode[]; + right: VNode[]; } } diff --git a/src/components/toolbar/Toolbar.vue b/src/components/toolbar/Toolbar.vue index 8fb5b2a1f..cfebbf4a2 100755 --- a/src/components/toolbar/Toolbar.vue +++ b/src/components/toolbar/Toolbar.vue @@ -1,10 +1,10 @@