aboutsummaryrefslogtreecommitdiff
path: root/src/components/Image/Image.tsx
blob: de67c6a8862e226bf23c308b40c73946202e8ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;