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