diff options
Diffstat (limited to 'src/components/Image/Image.tsx')
-rw-r--r-- | src/components/Image/Image.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/Image/Image.tsx b/src/components/Image/Image.tsx new file mode 100644 index 0000000..de67c6a --- /dev/null +++ b/src/components/Image/Image.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +interface PropTypes { + src?: string; + alt?: string; + className?: string; +} + +const Image: React.FC<PropTypes> = ({ src, alt, className }) => { + return <img src={src} alt={alt} className={className} />; +}; + +export default Image; + |