You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type 'Component<HTMLAttributes<HTMLDivElement> & AsProps> & { class: (props: HTMLAttributes<HTMLDivElement> & AsProps) => string; }' is not assignable to parameter of type 'string | TagStyleGenerator<HTMLAttributes<HTMLDivElement> & AsProps & ThemeProp>'.
Type 'Component<HTMLAttributes<HTMLDivElement> & AsProps> & { class: (props: HTMLAttributes<HTMLDivElement> & AsProps) => string; }' is not assignable to type 'TagStyleGenerator<HTMLAttributes<HTMLDivElement> & AsProps & ThemeProp>'.
Type 'Element' is not assignable to type 'string | number | undefined'.
Type 'null' is not assignable to type 'string | number | undefined'.ts(2345)
Is this not the correct way, or can this TS error be ignored? Thanks
The text was updated successfully, but these errors were encountered:
Hi, when referencing another styled component like this:
It works but generates the following TS error:
Is this not the correct way, or can this TS error be ignored? Thanks
The text was updated successfully, but these errors were encountered: