-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtypes.d.ts
40 lines (38 loc) · 1.06 KB
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* eslint-disable @typescript-eslint/no-unused-vars */
import React from "react";
// declare module "react" {
// interface CSSProperties {
// "--sidebar-width"?: string;
// }
// }
declare global {
namespace JSX {
interface IntrinsicElements {
"aidbox-form-renderer": React.DetailedHTMLProps<
React.IframeHTMLAttributes<HTMLIFrameElement>,
HTMLIFrameElement
> & {
questionnaire?: string;
"questionnaire-response"?: string;
config?: string;
};
"aidbox-form-builder": React.DetailedHTMLProps<
React.IframeHTMLAttributes<HTMLIFrameElement>,
HTMLIFrameElement
> & {
"hide-back"?: boolean;
"show-share"?: boolean;
"hide-population"?: boolean;
"hide-extraction"?: boolean;
"hide-publish"?: boolean;
"hide-add-theme"?: boolean;
"hide-edit-theme"?: boolean;
"hide-save-theme"?: boolean;
"hide-convert"?: boolean;
"hide-save"?: boolean;
"disable-save"?: boolean;
value?: string;
};
}
}
}