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