forked from sonnylazuardi/app-sense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.js
55 lines (54 loc) · 882 Bytes
/
data.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
const data = {
state: [
{
name: "counter",
value: 0
}
],
components: [
{
type: "Text",
text: {
type: "value",
value: "Click the button below to add counter value."
},
color: {
type: "value",
value: "#000"
},
fontSize: {
type: "value",
value: 16
}
},
{
type: "Text",
text: {
type: "state",
value: "counter"
},
color: {
type: "value",
value: "#075e9b"
},
fontSize: {
type: "value",
value: 30
}
},
{
type: "Button",
onPress: "button0_onPress",
id: "button0",
title: {
type: "value",
value: "Add counter"
},
color: {
type: "value",
value: "#075e9b"
}
}
]
};
export default data;