Skip to content
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

Generated CSS is not exported as default as readme says #420

Open
joegnis opened this issue May 24, 2022 · 0 comments
Open

Generated CSS is not exported as default as readme says #420

joegnis opened this issue May 24, 2022 · 0 comments

Comments

@joegnis
Copy link

joegnis commented May 24, 2022

According to the code, when extract is false, the generated stylesheet is exported as stylesheet, not what current doc says:

...and the CSS string is also available as default export unless extract: true:

It should be something like:

// Inject to `<head>` and also available as `styleSheet`
import style, { stylesheet } from './style.css'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant