1Button = {{Button}} {
2 // 1. Layout properties
3 width: 100,
4 height: 40,
5 margin: {left: 10, right: 10},
6
7 // 2. Visual properties
8 background_color: #fff,
9 border_width: 1.0,
10 corner_radius: 4.0,
11
12 // 3. Behavioral properties
13 cursor: Pointer,
14 grab_key_focus: true,
15
16 // 4. Animation properties
17 animator: {
18 hover = {
19 default: off
20 }
21 },
22
23 // 5. Child component instances
24 Icon = <Icon> { },
25
26 Label = <Label> { }
27}