We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01f05da commit 287f581Copy full SHA for 287f581
frontend/elements/src/Elements.tsx
@@ -37,6 +37,21 @@ declare global {
37
}
38
39
40
+// React 19 and later
41
+declare module "react" {
42
+ // eslint-disable-next-line no-unused-vars
43
+ namespace JSX {
44
45
+ interface IntrinsicElements {
46
+ "hanko-auth": HankoAuthElementProps;
47
+ "hanko-login": HankoAuthElementProps;
48
+ "hanko-registration": HankoAuthElementProps;
49
+ "hanko-profile": HankoProfileElementProps;
50
+ "hanko-events": HankoEventsElementProps;
51
+ }
52
53
+}
54
+
55
export interface RegisterOptions {
56
shadow?: boolean;
57
injectStyles?: boolean;
0 commit comments