add image svg
This commit is contained in:
1 parent
1eb26151dd
commit
0ce75d59e3
18 files changed
+548
-10
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user