VenueImage
Last updated
Last updated
When rendering images returned from Venue you can use this component to render a Next Image that will utilize metadata attached to the image as well as handling sizing parameter. This also includes any Image center positioning that might be set from the backend. Example:
className?
string
Classes that wil be passed to the underlying element
image?
Partial<>
A MediaItem that is returned from Venue CMS
aspect?
'square'|'video'
Aspect for constraining the image
props?
props
Next Image props that will be passed to the underlying Next Image component