18 lines
321 B
TypeScript
18 lines
321 B
TypeScript
import Image from "next/image";
|
|
import { ReactElement } from "react";
|
|
|
|
/**
|
|
* A creeper image.
|
|
*
|
|
* @returns the creeper jsx
|
|
*/
|
|
const Creeper = (): ReactElement => (
|
|
<Image
|
|
src="/media/creeper.png"
|
|
alt="A Minecraft Creeper"
|
|
width={216}
|
|
height={216}
|
|
/>
|
|
);
|
|
export default Creeper;
|