Skip to content

Define custom pragma as global setting? #5152

@FezVrasta

Description

@FezVrasta

Emotion 10 is going to provide a custom createElement function and to work, the app needs to use it as custom pragma.

emotion-js/emotion#637

Is there any way to override the default React createElement in a global manner to avoid to define the custom pragma on every single file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions