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 9098b83 commit 4d88c18Copy full SHA for 4d88c18
packages/emotion/src/createX.ts
@@ -10,7 +10,7 @@ type JSXElementKeys = keyof JSX.IntrinsicElements
10
export type X<TGen extends StyleGenerator> = {
11
[Key in JSXElementKeys]: StyledComponent<
12
StyleGeneratorProps<TGen> & { as?: React.ElementType; theme?: Theme },
13
- JSX.IntrinsicElements[Key]
+ Omit<JSX.IntrinsicElements[Key], 'color'>
14
>
15
}
16
0 commit comments