Created
May 16, 2020 10:19
-
-
Save ANUPAMCHAUDHARY1117/fd99e3370b13a1721405ef6f878fd548 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
const ImageComponent = ({ src }) => { | |
return <img src={src} alt='Avatar' style={{ width: '50%' }} />; | |
}; | |
export default ImageComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment