Fixed #4774 - OverlayPanel: wrongly typed slot prop

This commit is contained in:
tugcekucukoglu 2023-11-15 20:00:50 +03:00
parent 1914bc501a
commit b543a35a2e

View file

@ -182,20 +182,6 @@ export interface OverlayPanelSlots {
* Custom close icon template.
*/
closeicon(): VNode[];
}
/**
* Defines valid emits in OverlayPanel component.
*/
export interface OverlayPanelEmits {
/**
* Callback to invoke when the overlay is shown.
*/
show(): void;
/**
* Callback to invoke when the overlay is hidden.
*/
hide(): void;
/**
* Custom container slot.
* @param {Object} scope - container slot's params.
@ -224,6 +210,20 @@ export interface OverlayPanelEmits {
}): VNode[];
}
/**
* Defines valid emits in OverlayPanel component.
*/
export interface OverlayPanelEmits {
/**
* Callback to invoke when the overlay is shown.
*/
show(): void;
/**
* Callback to invoke when the overlay is hidden.
*/
hide(): void;
}
/**
* **PrimeVue - OverlayPanel**
*