primevue-mirror/components/toolbar/Toolbar.d.ts

48 lines
962 B
TypeScript
Raw Normal View History

2022-09-06 12:03:37 +00:00
import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export interface ToolbarProps {
2022-09-14 11:26:01 +00:00
/**
* Defines a string value that labels an interactive element.
*/
'aria-labelledby'?: string | undefined;
2022-09-06 12:03:37 +00:00
}
export interface ToolbarSlots {
/**
* Custom start template.
*/
start: () => VNode[];
2022-12-08 11:04:25 +00:00
/**
* Custom center template.
*/
center: () => VNode[];
2022-09-06 12:03:37 +00:00
/**
* Custom end template.
*/
end: () => VNode[];
}
2022-09-14 11:26:01 +00:00
export declare type ToolbarEmits = {};
2022-09-06 12:03:37 +00:00
2022-09-14 11:26:01 +00:00
declare class Toolbar extends ClassComponent<ToolbarProps, ToolbarSlots, ToolbarEmits> {}
2022-09-06 12:03:37 +00:00
declare module '@vue/runtime-core' {
interface GlobalComponents {
2022-09-14 11:26:01 +00:00
Toolbar: GlobalComponentConstructor<Toolbar>;
2022-09-06 12:03:37 +00:00
}
}
/**
*
* Toolbar is a grouping component for buttons and other content.
*
* Demos:
*
2022-09-14 11:26:01 +00:00
* - [Toolbar](https://www.primefaces.org/primevue/toolbar)
2022-09-06 12:03:37 +00:00
*
*/
export default Toolbar;