Skip to content

[NEW FEATURE] Support components as selectors #97

@budde377

Description

@budde377

Thanks for a great project. We are currently trying to reference other components in the CSS, i.e.,

const Inner = styled.div`
`

const Container = styled.div`
  ${Inner} {
    background-color: red;
  }
`

but it seems that it'll stringify the component rather than resolve a class-name. I also found no examples of this in the project. Is this not supported?

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