Skip to content

Commit 4d88c18

Browse files
committed
fix(emotion): fix color prop
Fix #276
1 parent 9098b83 commit 4d88c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/emotion/src/createX.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type JSXElementKeys = keyof JSX.IntrinsicElements
1010
export type X<TGen extends StyleGenerator> = {
1111
[Key in JSXElementKeys]: StyledComponent<
1212
StyleGeneratorProps<TGen> & { as?: React.ElementType; theme?: Theme },
13-
JSX.IntrinsicElements[Key]
13+
Omit<JSX.IntrinsicElements[Key], 'color'>
1414
>
1515
}
1616

0 commit comments

Comments
 (0)