-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathstory.args.js
79 lines (77 loc) · 2.25 KB
/
story.args.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
export const args = {
innerscroll: '',
maxheight: '',
datesortcolumnindex: '3,4',
};
export const argTypes = {
innerscroll: { control: 'text' },
maxheight: { control: 'text' },
datesortcolumnindex: { control: 'text' },
};
export const model = {
thead: [
{ html: 'Age', sort: 'ASC' },
{ html: 'Name', sort: 'ASC' },
{ html: 'City', sort: 'DESC' },
{ html: 'Date of entry', sort: 'DESC' },
{ html: 'Date of exit', sort: 'DESC' },
{ html: 'Department' },
{ html: 'Place', key: 'placeName', sort: 'ASC' },
],
tbody: [
[
{ html: '<span>55</span>' },
{ html: '<span>Peter</span>' },
{ html: '<span>Winterthur</span>' },
{ html: '<span>22.04.2019</span>' },
{ html: '<span>10.01.2020</span>' },
{ text: 'A' },
{ html: '8180 Bülach', placeName: 'Bülach' },
],
[
{ html: '<span>22</span>' },
{ html: '<span>Chris</span>' },
{ html: '<span>Zürich</span>' },
{ html: '<span>04.04.2019</span>' },
{ html: '<span>04.06.2019</span>' },
{ text: 'B' },
{ html: '8038 Zürich', placeName: 'Zürich' },
],
[
{ html: '<span>46</span>' },
{ html: '<span>Hubert</span>' },
{ html: '<span>Kreuzlingen</span>' },
{ html: '<span>01.01.2020</span>' },
{ html: '<span>05.02.2020</span>' },
{ text: 'C' },
{ html: '8197 Rafz', placeName: 'Rafz' },
],
[
{ html: '<span>51</span>' },
{ html: '<span>Petra</span>' },
{ html: '<span>Kreuzlingen</span>' },
{ html: '<span>08.10.2018</span>' },
{ html: '<span>11.12.2019</span>' },
{ text: 'D' },
{ html: '8193 Eglisau', placeName: 'Eglisau' },
],
[
{ html: '<span>18</span>' },
{ html: '<span>Maria</span>' },
{ html: '<span>Frauenfeld</span>' },
{ html: '<span>29.04.2018</span>' },
{ html: '<span>01.01.2020</span>' },
{ text: 'E' },
{ html: '13469 Berlin', placeName: 'Berlin' },
],
[
{ html: '<span>29</span>' },
{ html: '<span>David</span>' },
{ html: '<span>Frauenfeld</span>' },
{ html: '<span>02.05.2013</span>' },
{ html: '<span>02.05.2015</span>' },
{ text: 'F' },
{ html: '8400 Winterthur', placeName: 'Winterthur' },
],
],
};