Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Support css<Props> like element<Props> #106

@iansan5653

Description

@iansan5653

The styled-components css tag passes props through from the parent element, so something like:

interface Props {
  //...
}
const baseHeadingStyles = css<Props>`
  //...
`;

is perfectly valid. This doesn't get recognized by the extension though.

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