Skip to content

Commit

Permalink
fix: issue accessing className or selector on styled components
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Aug 9, 2021
1 parent 26ecd5b commit cb1981c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react/types/styled-component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export interface StyledComponent<
: never
): React.ReactElement | null

className: string
selector: string

[$$StyledComponentType]: Type
[$$StyledComponentProps]: Omit<Props, 'css'>
[$$StyledComponentMedia]: Media
Expand Down

0 comments on commit cb1981c

Please sign in to comment.