TL;DR Here is a repository with a working example. :)
If you are up to date with the newest React trends, then you probably heard about styled-com...
For further actions, you may consider blocking this person and/or reporting abuse
Have you considered making a tag template function that would support the same syntax as styled-components? One of the things I really like about styled-components is that I can use my IDE's support for CSS autocompletion. Also this would make it easy to transition from styled-components to Styletron.
This isn't my library, I just wrote about it, because I thought it deserves some promotion :D
As far as I can tell (and I may be wrong) the idea of the Object literals is to allow typing via TypeScript or something.
I see. Thanks for a helpful article!