Skip to content

[v2] Allow passing your own instance of emotion #3120

@standayweb

Description

@standayweb

When using react-select in an iframe widget, the styling gets added to the head of the parent page rather than to head in the iframe.

Emotion has already solved this issue:
https://github.com/emotion-js/emotion/tree/master/packages/create-emotion

We should expose a way to pass in an emotion instance to the react-select component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/reviewedIssue has recently been reviewed (mid-2020)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions