Fixed #1836 - For Toolbar

pull/1846/head
mertsincan 2021-12-02 00:04:00 +03:00
parent 0fa4dd28ed
commit 8a91fdd7d6
1 changed files with 31 additions and 6 deletions

View File

@ -1,13 +1,38 @@
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
interface ToolbarProps {} export interface ToolbarProps {
}
declare class Toolbar { export interface ToolbarSlots {
$props: ToolbarProps; /**
$slots: { * Custom start template.
left: VNode[]; */
right: VNode[]; start: () => VNode[];
/**
* Custom end template.
*/
end: () => VNode[];
}
export declare type ToolbarEmits = {
}
declare class Toolbar extends ClassComponent<ToolbarProps, ToolbarSlots, ToolbarEmits> { }
declare module '@vue/runtime-core' {
interface GlobalComponents {
Toolbar: GlobalComponentConstructor<Toolbar>
} }
} }
/**
*
* Toolbar is a grouping component for buttons and other content.
*
* Demos:
*
* - [Toolbar](https://www.primefaces.org/primevue/showcase/#/toolbar)
*
*/
export default Toolbar; export default Toolbar;