Fixed #4774 - OverlayPanel: wrongly typed slot prop

pull/4829/head
tugcekucukoglu 2023-11-15 20:00:50 +03:00
parent 1914bc501a
commit b543a35a2e
1 changed files with 14 additions and 14 deletions

View File

@ -182,20 +182,6 @@ export interface OverlayPanelSlots {
* Custom close icon template. * Custom close icon template.
*/ */
closeicon(): VNode[]; 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. * Custom container slot.
* @param {Object} scope - container slot's params. * @param {Object} scope - container slot's params.
@ -224,6 +210,20 @@ export interface OverlayPanelEmits {
}): VNode[]; }): 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** * **PrimeVue - OverlayPanel**
* *