styled-components v4.3.0 Release Notes
Release Date: 2019-06-05 // almost 5 years ago-
Make it possible to initialize
SC_ATTR
andSC_DISABLE_SPEEDY
viaREACT_APP_*
.env variables for easier integration with CRA applications (see #2501)๐ Fix
theme
prop for styled native components, also fixestheme
indefaultProps
for them.โ Add "forwardedAs" prop to allow deeply passing a different "as" prop value to underlying components when using
styled()
as a higher-order component๐ Implement defaultProps folding (see #2597)