File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import type {
1010 StyledType ,
1111 StyledElementAttrsType ,
1212 StyledElementType ,
13- TagOrStyledElementType ,
13+ TagNameOrStyledElementType ,
1414 StyledElementPropsType
1515} from './types'
1616
@@ -41,7 +41,7 @@ const createStyled = (
4141 }
4242
4343 const styled = (
44- tagOrStyledElement : TagOrStyledElementType ,
44+ tagOrStyledElement : TagNameOrStyledElementType ,
4545 ownStyle : ComponentStyleType
4646 ) : StyledElementType => {
4747 const { tagName, style} : StyledElementAttrsType = typeof tagOrStyledElement === 'string'
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export type StyledType = Function & {
1616}
1717export type StyledElementAttrsType = { tagName : string , style : ComponentStyleType }
1818export type StyledElementType = Function & StyledElementAttrsType
19- export type TagOrStyledElementType = string | StyledElementType
19+ export type TagNameOrStyledElementType = string | StyledElementType
2020export type StyledElementPropsType = {
2121 classes : Object ,
2222 children : ?any ,
You can’t perform that action at this time.
0 commit comments