Skip to content

Commit

Permalink
#3196: ESLint added image alt prop
Browse files Browse the repository at this point in the history
  • Loading branch information
habubey committed Sep 1, 2022
1 parent e97170b commit f81ac8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/messages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const MessagesDemo = () => {
<Message severity="info" text="Message Content" />
</div>
<div className="col-12 md:col-3">
<Message severity="success" icon={<Image src={CustomImage} width="20px" height="20px" />} text="Message Content" />
<Message severity="success" icon={<Image src={CustomImage} alt="custom-image" width="20px" height="20px" />} text="Message Content" />
</div>
<div className="col-12 md:col-3">
<Message severity="warn" icon="pi pi-exclamation-triangle" text="Message Content" />
Expand Down

0 comments on commit f81ac8a

Please sign in to comment.