Fixed #1780 - Fix typings for renamed slots of Toolbar
parent
64530e4987
commit
6a9346d01b
|
@ -1,10 +1,10 @@
|
|||
const ToolbarSlots = [
|
||||
{
|
||||
name: "left",
|
||||
name: "start",
|
||||
description: "Custom content for the component's left side"
|
||||
},
|
||||
{
|
||||
name: "right",
|
||||
name: "end",
|
||||
description: "Custom content for the component's right side"
|
||||
}
|
||||
];
|
||||
|
|
|
@ -5,8 +5,8 @@ interface ToolbarProps {}
|
|||
declare class Toolbar {
|
||||
$props: ToolbarProps;
|
||||
$slots: {
|
||||
left: VNode[];
|
||||
right: VNode[];
|
||||
start: VNode[];
|
||||
end: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue