-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolveScopedStyles include in API #379
Comments
@pungggi it is a few lines utility that can be implemented by the users. I don't think that it is necessary to include it in the library. |
@giuseppeg I think this could be really useful to be added as a template tag function, something like |
@giuseppeg I disagree, when you find online examples using |
In v3 we are adding the following syntax: const { className, styles } = css.resolve`div { color: red }` to do the same thing |
Hi @giuseppeg
what do you think about embed the resolveScopedStyles function from #273 in the library.
So users can import it when needed?
Like
import {resolveScopedStyles} from 'styled-jsx'
?
The text was updated successfully, but these errors were encountered: