-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsampleFormat.json
56 lines (49 loc) · 1.16 KB
/
sampleFormat.json
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
{
"componentName": {
"name": "Component Name",
"nodeType": "component",
"nodeId": "nodeId",
"componentNameProps": {
"variantOption1": {
"dataType": "type",
"variantOptions": ["array of response"],
"defaultValue": "default value"
}
}
}
}
{
"button": {
"name": "Button",
"nodeType": "component",
"nodeId": "11456678009785642",
"ButtonProps": {
"size": {
"propType": "literal",
"options": ["small", "medium", "large"],
"defaultValue": "small"
},
"type": {
"propType": "type",
"variantOptions": ["icon", "illustration"],
"defaultValue": "icon"
},
"title": {
"dataType": "string"
},
"subtitle": {
"dataType": "string"
},
"buttonActions": {
"defaultValue": {
"variant": "text"
},
"propType": "Props",
"variantOptions": ["textButton"],
"omit": ["variant"]
}
},
"uses": ["avatar", "button"]
}
}
"propType": ["string","number","boolean","literal(variant)"]