Fixed #1780 - Fix typings for renamed slots of Toolbar

pull/1846/head
Tuğçe Küçükoğlu 2021-12-01 11:16:47 +03:00
parent 64530e4987
commit 6a9346d01b
3 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
const ToolbarSlots = [ const ToolbarSlots = [
{ {
name: "left", name: "start",
description: "Custom content for the component's left side" description: "Custom content for the component's left side"
}, },
{ {
name: "right", name: "end",
description: "Custom content for the component's right side" description: "Custom content for the component's right side"
} }
]; ];

View File

@ -5,8 +5,8 @@ interface ToolbarProps {}
declare class Toolbar { declare class Toolbar {
$props: ToolbarProps; $props: ToolbarProps;
$slots: { $slots: {
left: VNode[]; start: VNode[];
right: VNode[]; end: VNode[];
} }
} }