Skip to content

Commit

Permalink
Add temp fix for ref type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Temzasse committed Aug 21, 2022
1 parent c58165c commit b44aca5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/styled-component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export interface StyledComponent<
TransformProps<Props, Media> & {
as?: never;
css?: CSS;
ref?: any; // TODO: remove this hack and fix the real `ref` type
}
>
): React.ReactElement | null;
Expand Down

0 comments on commit b44aca5

Please sign in to comment.