Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for styled-components v6 (#818)
This PR adds support for styled-components v6 by setting the `sassyPseudo` option to true for the styled-components preset. Prefixing selectors like hover with an ampersand (eg: `&:hover`) were made a requirement in the latest version. Another change is that when using styled, all props will be added to the element and you'll likely see a console warning. This isn't handled by twin so we'll need to use [transient props](https://styled-components.com/docs/api#transient-props) to get around that. Related #805
- Loading branch information