Update Image.d.ts

Made typescript interface indicator slot match the docs and implementation
pull/5390/head
Patrick Spiegel 2024-03-07 20:02:39 +01:00 committed by GitHub
parent d7c25df7b0
commit 5ae1c7051c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ export interface ImageProps {
imageClass?: any; imageClass?: any;
/** /**
* Custom indicator icon. * Custom indicator icon.
* @deprecated since v3.27.0. Use 'indicator' slot. * @deprecated since v3.27.0. Use 'indicatoricon' slot.
*/ */
indicatorIcon?: string; indicatorIcon?: string;
/** /**
@ -223,7 +223,7 @@ export interface ImageSlots {
/** /**
* Custom indicator template. * Custom indicator template.
*/ */
indicator(): VNode[]; indicatoricon(): VNode[];
/** /**
* Custom refresh template. * Custom refresh template.
*/ */