react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

No option to add alt tag to image components

Open olliequ opened this issue 4 months ago • 2 comments

Using images with react-pdf works, but during the build process of the app (npm run build) results in the warning:

Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text

Having an option for an alt tag would solve this.

olliequ avatar Oct 10 '24 23:10 olliequ