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
{{ message }}
Repository navigation
Commit 9945904
Browse filesBrowse the repository at this point in the historyBrowse files
Respect a custom `toString` on plain value objects (e.g. design tokens) when interpolated into a styled component, rather than walking the object's keys as CSS declarations.
Fix a TypeScript error when wrapping a component whose props include an `as` prop with a non-string type (such as Next.js `Link`'s `as?: Url`). The styled-components `as` and `forwardedAs` props now consistently override the wrapped component's same-named props instead of colliding with them.
Copy file name to clipboardExpand all lines: packages/styled-components/docs/faq.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ export default function Page() {
22
22
}
23
23
```
24
24
25
-
RSC environments are detected automatically—no configuration required. Styles are emitted alongside each component's markup and deduplicated per render.
25
+
RSC environments are detected automatically - no configuration required. Styles are emitted alongside each component's markup and deduplicated per render.
0 commit comments