Revert "Fixed #1780 - Fix typings for renamed slots of Toolbar"
This reverts commit 6a9346d01b
.
pull/1846/head
parent
6a9346d01b
commit
83922e6c99
|
@ -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"
|
||||
}
|
||||
];
|
||||
|
|
|
@ -5,8 +5,8 @@ interface ToolbarProps {}
|
|||
declare class Toolbar {
|
||||
$props: ToolbarProps;
|
||||
$slots: {
|
||||
start: VNode[];
|
||||
end: VNode[];
|
||||
left: VNode[];
|
||||
right: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<template>
|
||||
<div class="p-toolbar p-component" role="toolbar">
|
||||
<div class="p-toolbar-group-left">
|
||||
<slot name="start"></slot>
|
||||
<slot name="start"></slot>
|
||||
</div>
|
||||
<div class="p-toolbar-group-right">
|
||||
<slot name="end"></slot>
|
||||
<slot name="end"></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue