diff --git a/components/image/Image.d.ts b/components/image/Image.d.ts index 386e61086..b753a1b43 100644 --- a/components/image/Image.d.ts +++ b/components/image/Image.d.ts @@ -27,6 +27,11 @@ export interface ImageProps { * Style class of the image element. */ imageClass?: any; + /** + * Custom indicator icon. + * @defaultValue pi pi-eye + */ + indicatorIcon?: string; } /** diff --git a/components/image/Image.vue b/components/image/Image.vue index 00333598b..9d5cbb2a1 100644 --- a/components/image/Image.vue +++ b/components/image/Image.vue @@ -3,7 +3,7 @@ @@ -82,6 +82,10 @@ export default { previewButtonProps: { type: null, default: null + }, + indicatorIcon: { + type: String, + default: 'pi pi-eye' } }, mask: null,