Skip to content

Commit

Permalink
feat(core): ✨ alt text CoreImage
Browse files Browse the repository at this point in the history
add alt text in CoreImage component, wrappid/guide-module#186

Ref: #286
  • Loading branch information
anantakumarghosh committed Aug 16, 2024
1 parent f5ef2ed commit 7968e42
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions package/components/dataDisplay/CoreImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ export default function CoreImage(props) {
}
CoreImage.validProps = [
{
name : "src",
description: "The source of the image.",
name: "src",

Check failure on line 16 in package/components/dataDisplay/CoreImage.js

View workflow job for this annotation

GitHub Actions / Validate code style

Missing space after key 'name'
types: [{ type: "string" }]

Check failure on line 17 in package/components/dataDisplay/CoreImage.js

View workflow job for this annotation

GitHub Actions / Validate code style

Missing space after key 'types'
},
{
name : "height",
types: [{ type: "number" }]
},
{
name : "width",
types: [{ type: "number" }]
description: "The alternative text of the image.",
name: "alt",

Check failure on line 21 in package/components/dataDisplay/CoreImage.js

View workflow job for this annotation

GitHub Actions / Validate code style

Missing space after key 'name'
types: [{ type: "string" }]

Check failure on line 22 in package/components/dataDisplay/CoreImage.js

View workflow job for this annotation

GitHub Actions / Validate code style

Missing space after key 'types'
}
];
CoreImage.invalidProps = ["style", "sx", "classes"];

0 comments on commit 7968e42

Please sign in to comment.