Last active
October 10, 2022 14:36
-
-
Save koss-lebedev/47a4f17a32db3dda6780bd836d1ad29c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const Message = ({ text, imageUrl }) => { | |
return ( | |
<div> | |
{imageUrl && <img src={imageUrl} />} | |
{text && <p>{text}</p>} | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment