Skip to content

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

@AndreyLuzinov

Description

@AndreyLuzinov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions