Fixed #1836 - For Toolbar
parent
0fa4dd28ed
commit
8a91fdd7d6
|
@ -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<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;
|
||||
|
|
Loading…
Reference in New Issue