We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ElementType
1 parent a4a5075 commit d75b828Copy full SHA for d75b828
.changeset/plenty-olives-act.md
@@ -0,0 +1,5 @@
1
+---
2
+'@compiled/react': patch
3
4
+
5
+Add `ElementType` to the global compiled JSX namespace
packages/react/src/index.ts
@@ -39,6 +39,7 @@ export const jsx = createElement;
39
export namespace jsx {
40
export namespace JSX {
41
export type Element = CompiledJSX.Element;
42
+ export type ElementType = CompiledJSX.ElementType;
43
export type ElementClass = CompiledJSX.ElementClass;
44
export type ElementAttributesProperty = CompiledJSX.ElementAttributesProperty;
45
export type ElementChildrenAttribute = CompiledJSX.ElementChildrenAttribute;
0 commit comments