add image svg

This commit is contained in:
Romulus21
2023-10-01 23:19:08 +02:00
parent 1eb26151dd
commit 0ce75d59e3
18 changed files with 548 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
import React, {FC} from "react";
const Img: FC<{src: string, alt: string, width: string}> = ({src, alt, width, ...props}) => {
return <img src={'/' + src} alt={alt} width={width} {...props} />
}
export default Img