Y
Hacker News
new
|
ask
|
show
|
jobs
by
mikewhy
2005 days ago
React doesn't have a CSS prop.
2 comments
frank_nitti
2005 days ago
Must be referring to the style prop for jsx elements whose argument conforms to the React.CSSProperties interface
link
mikewhy
2005 days ago
Hard to say, for instance the very popular styled-components package does add a `css` prop magically to all elements.
link
girvo
2004 days ago
I think they've assumed `styled-components` is default?
link