[ ] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Create a <PrismicImage /> component that renders an img element with src, srcset, width, height, and alt attributes. Accepts class, widths, and imgixParams props.
Checklist:
[x] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
Types of changes
Description
Create a
<PrismicImage />
component that renders animg
element withsrc
,srcset
,width
,height
, andalt
attributes. Acceptsclass
,widths
, andimgixParams
props.Checklist: