angrybeanie-front-end/components/featureimage.js
2021-09-05 16:12:45 +10:00

14 lines
No EOL
334 B
JavaScript
Executable file

import Image from 'next/image';
const FeatureImage = ({ imagedata, basepath }) => (
<div className="featuredimage">
<Image
src={basepath + imagedata.src}
height={imagedata.height}
width={imagedata.width}
priority={true}
/>
</div>
);
export default FeatureImage