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

Support style/link optional parameters in createCustomElement to style wrapped React component. #23

Open
AndreyLuzinov opened this issue Jan 23, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@AndreyLuzinov
Copy link

Expected Behaviour

In case of using Webpack Minicssextractplugin or StyleLoaderPlugin I want to be able to pass generated styles inside web component to style React component.

Actual Behaviour

Right now only inline styles in React component will work behind shadow dom.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Try to wrap React component with css modules.

Platform and Version

any

P.S. I could contribute code to add this functionality.

@AndreyLuzinov AndreyLuzinov changed the title Support style/link html element optional parameters in createCustomElement to style wrapped React component. Support style/link optional parameters in createCustomElement to style wrapped React component. Jan 23, 2020
@alexmirea
Copy link

@AndreyLuzinov thank you for submitting this, contributions are of course welcome.

@alexmirea alexmirea added the enhancement New feature or request label Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants