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
Rather than pass in normal props to styled subcomponent types, use transient props for styling that get consumed at the style level and don't get added to the html elements in the DOM.
Directly adding non-transient props as attributes on HTML elements can lead to console errors.
Rather than pass in normal props to styled subcomponent types, use transient props for styling that get consumed at the style level and don't get added to the html elements in the DOM.
Directly adding non-transient props as attributes on HTML elements can lead to console errors.
See the documentation:
StyledComponents docs
The text was updated successfully, but these errors were encountered: