-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
Copy pathts-extend-props.js
64 lines (61 loc) · 1.48 KB
/
ts-extend-props.js
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
module.exports.COLOR_PROPS = `
color?: string;
colorTheme?: string;
textColor?: string;
bgColor?: string;
borderColor?: string;
rippleColor?: string;
dark?: boolean;
`;
module.exports.ICON_PROPS = `
icon?: string;
iconMaterial?: string;
iconF7?: string;
iconIos?: string;
iconMd?: string;
iconColor?: string;
iconSize?: string | number;
`;
module.exports.ROUTER_PROPS = `
back?: boolean;
external?: boolean;
force?: boolean;
animate?: boolean;
ignoreCache?: boolean;
reloadCurrent?: boolean;
reloadAll?: boolean;
reloadPrevious?: boolean;
reloadDetail?: boolean;
routeTabId?: string;
view?: string;
routeProps?: any;
preventRouter?: boolean;
transition?: string;
openIn?: string;
`;
module.exports.ACTIONS_PROPS = `
searchbarEnable?: boolean | string;
searchbarDisable?: boolean | string;
searchbarClear?: boolean | string;
searchbarToggle?: boolean | string;
panelOpen?: boolean | string;
panelClose?: boolean | string;
panelToggle?: boolean | string;
popupOpen?: boolean | string;
popupClose?: boolean | string;
actionsOpen?: boolean | string;
actionsClose?: boolean | string;
popoverOpen?: boolean | string;
popoverClose?: boolean | string;
loginScreenOpen?: boolean | string;
loginScreenClose?: boolean | string;
sheetOpen?: boolean | string;
sheetClose?: boolean | string;
sortableEnable?: boolean | string;
sortableDisable?: boolean | string;
sortableToggle?: boolean | string;
cardOpen?: boolean | string;
cardPreventOpen?: boolean | string;
cardClose?: boolean | string;
menuClose?: boolean | string;
`;