3 ms·
What's the problem, you just use them. If you need to reference component itself you can use & selector, works exactly like sass or less. If you want to referen
by iaml 8y ago
What's the problem, you just use them. If you need to reference component itself you can use & selector, works exactly like sass or less. If you want to reference another styled component you import it and ${Component} will reference autogenerated class. Also nobody stops you from writing nested css rules. You can also write cool media query helpers like this https://www.styled-components.com/docs/advanced#media-templates https://www.styled-components.com/docs/advanced#media-templa...