22 lines
384 B
TypeScript
22 lines
384 B
TypeScript
import Image from "next/image";
|
|
|
|
interface Props {
|
|
src: string;
|
|
alt: string;
|
|
className?: string;
|
|
}
|
|
|
|
export default function SVG(props: Props): JSX.Element {
|
|
return (
|
|
<div className={props.className}>
|
|
<Image
|
|
src={props.src}
|
|
alt={props.src}
|
|
height={1000}
|
|
width={1000}
|
|
unoptimized
|
|
/>
|
|
</div>
|
|
);
|
|
}
|