angrybeanie-front-end/components/featureimage.js
2021-02-04 14:27:14 +11:00

13 lines
No EOL
335 B
JavaScript

import Image from 'next/image';
const FeatureImage = ({ imagedata }) => (
<div className="featuredimage">
<Image
src={'https://www.angrybeanie.com' + imagedata.image.src}
height={imagedata.image.height}
width={imagedata.image.width}
/>
</div>
);
export default FeatureImage