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
How can one use, for example, the fontSize property, while creating a styled component?
In the following case, it's possible to set the font size and color using the defaultProps. Is there a way to set them inside of the styled.label definition while still being able to add custom css (like display: block below)?
How can one use, for example, the
fontSize
property, while creating a styled component?In the following case, it's possible to set the font size and color using the
defaultProps
. Is there a way to set them inside of thestyled.label
definition while still being able to add custom css (likedisplay: block
below)?The text was updated successfully, but these errors were encountered: