Skip to content

export tags #3320

@kireerik

Description

@kireerik

The problem

In version 11.13.5 and below I was able to directly import the tags module like this:
https://github.com/kireerik/refo/blob/0f64433e4dc99c8643ec68b0977f4a00c0998465/module/style/index.jsx#L6-L9

(Version 11.14.0 uses TypeScript. So I won't be able to do the above as is.)

Proposed solution

Make the tags module importable from @emotion/styled like this for example:

import tags from '@emotion/styled/tags'

Alternative solutions

import {tags} from '@emotion/styled'

 
2. Make the tags module a separate package like @emotion/tags for example.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions