Posts by Luis Felipe Zaguini • 61 points
2 posts
-
0
votes1
answer76
viewsA: How to declare a function in the form of Arrow Function?
I don’t think there’s any need to do that, it won’t make any difference in the code. But... Arrow functions are anonymous functions, that is, they have no name. To identify them, you need to assign…
-
3
votes2
answers1750
viewsA: How to use JS object variables for colors in CSS
First of all it would be ideal if you put this variable object as a theme in Provider of styled-components, thus: import { ThemeProvider } from 'styled-components'; const cores = { main: "#333",…