diff --git a/src/components/Image/index.jsx b/src/components/Image/index.jsx new file mode 100644 index 0000000..237c377 --- /dev/null +++ b/src/components/Image/index.jsx @@ -0,0 +1,11 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +export default function Image({ src, alt, ...restProps }) { + return {alt}; +} + +Image.propTypes = { + src: PropTypes.string.isRequired, + alt: PropTypes.string, +};