Generate inline style attribute text.
ccorcos opened this issue · 3 comments
ccorcos commented
I'm looking to use glamor
for a very simple use-case: generating inline style attribute text.
glamor.inline({backgroundColor: blue, borderRadius: 12}) => "background-color:blue;border-radius:12px"
netojose commented
@ccorcos , if you want write inline css, you can use just react for this:
<p style={{backgroundColor: blue, borderRadius: 12}}}>Hi</p>
ccorcos commented
I am not using React in this context
netojose commented
I am not using React in this context
So, in this case, I suppose this package can't help you. According to implementation specification, this tool go to another direction.
And, I think this tool is not maintained. The last version is from 8 years ago, and the last commit to this repository, was 7 years ago.