Created
May 24, 2020 18:31
-
-
Save baranovxyz/065588458ef39ccc845c4035a766d152 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
function Note(note) { | |
const { title, text } = note; | |
return ` | |
<div class='Note'> | |
<div class='Note-Title'> | |
${title} | |
</div> | |
<div class='Note-Text'> | |
${text} | |
</div> | |
</div> | |
`; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment