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 36e756b commit 0f61366Copy full SHA for 0f61366
packages/jsx/src/index.ts
@@ -34,13 +34,7 @@ export function Fragment(props: { children: JSX.Element | JSX.Element[] }): JSX.
34
};
35
}
36
37
-export type Component =
38
- | typeof Confirm
39
- | typeof Note
40
- | typeof Text
41
- | typeof Password
42
- | typeof Option
43
- | typeof Select;
+export type Component = (props: never) => JSX.Element;
44
45
function jsx<T extends keyof JSX.IntrinsicElements>(
46
tag: T,
0 commit comments