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 fb4ff21 commit 5c9994cCopy full SHA for 5c9994c
global.d.ts
@@ -1,6 +1,9 @@
1
// global.d.ts
2
declare namespace JSX {
3
interface IntrinsicElements {
4
- 'custom-element': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
+ 'custom-element': React.DetailedHTMLProps<
5
+ React.HTMLAttributes<HTMLElement> & { class?: string },
6
+ HTMLElement
7
+ >;
8
}
9
0 commit comments