We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54afa96 commit 1f2b375Copy full SHA for 1f2b375
packages/styled/src/index.ts
@@ -1,5 +1,5 @@
1
import { Theme } from '@emotion/react'
2
-import oldStyled from './base'
+import baseStyled from './base'
3
import { ReactJSXIntrinsicElements } from './jsx-namespace'
4
import { tags } from './tags'
5
import {
@@ -33,7 +33,7 @@ export type StyledTags = {
33
export interface CreateStyled extends BaseCreateStyled, StyledTags {}
34
35
// bind it to avoid mutating the original function
36
-const styled = oldStyled.bind(null) as CreateStyled
+const styled = baseStyled.bind(null) as CreateStyled
37
38
tags.forEach(tagName => {
39
;(styled as any)[tagName] = styled(tagName as keyof typeof styled)
0 commit comments