Created
December 2, 2020 17:20
-
-
Save sewerynkalemba/79444ee4f65d3f0943ecee942d30404c 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
const greeting = 'Witaj' | |
const subject = 'Świecie' | |
console.log(`${greeting} ${subject}!`) // Witaj Świecie! | |
// to jest to samo, co: | |
console.log(greeting + ' ' + subject + '!') | |
// w Reactcie: | |
function Box({className, ...props}) { | |
return <div className={`box ${className}`} {...props} /> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment