Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sections/faqs/migration-v6.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,9 @@ const ButtonLink = styled(Button).attrs({ as: 'a' })``;
### Minimum Node support raised to v16+

In line with the [maintenance schedule](https://github.com/nodejs/release#release-schedule) for Node, we now support v16 as the oldest runtime that's still receiving security patches.

### If you are using react-select

If you are creating a custom component using a styled-components theme, such as react-select, you need to pass the theme explicitly using [`.attrs` constructor](https://styled-components.com/docs/api#attrs).

See [codesandbox](https://codesandbox.io/p/sandbox/styled-component-with-react-select-forked-m62nj4?file=%2Fexample.js) for specific example.