yarn add styled-components@beta
What's Changed
- Bump stylis to version 4.1.3 by @lunaris in #3860 (adds
@container
CSS support) - Fix various type issues
Breaking changes in v6 (as of this version)
- now using
stylis
v4 (if usingstylis-plugin-rtl
you'll need to upgrade to the newer version) - dropped
$as
and$forwardedAs
props (useas
orforwardedAs
) - dropped automatic prop filtering, use transient props (
$
prefix) for stuff you don't want to be passed to child component / HTML - node >= 14 needed
Full Changelog: v6.0.0-beta.5...v6.0.0-beta.6