@@ -10,6 +10,7 @@ exports[`MatchElement Component Should render 1`] = `
10
10
" avatar1" : " BABOON" ,
11
11
" avatar2" : " BEAR" ,
12
12
" games" : Array [],
13
+ " match_mode" : " SELF" ,
13
14
" playedAt" : " date string" ,
14
15
" score1" : 1 ,
15
16
" score2" : 5 ,
@@ -24,28 +25,108 @@ exports[`MatchElement Component Should render 1`] = `
24
25
bsClass = " col"
25
26
className = " mb-1"
26
27
componentClass = " div"
27
- onMouseEnter = { [Function ]}
28
- onMouseLeave = { [Function ]}
29
28
sm = { 12 }
30
29
style = {
31
30
Object {
32
31
" borderRadius" : 5 ,
32
+ " userSelect" : " none" ,
33
33
}
34
34
}
35
35
>
36
36
<div
37
37
className = " mb-1 col-sm-12"
38
- onMouseEnter = { [Function ]}
39
- onMouseLeave = { [Function ]}
40
38
style = {
41
39
Object {
42
40
" borderRadius" : 5 ,
41
+ " userSelect" : " none" ,
43
42
}
44
43
}
45
44
>
46
45
<div
47
- className = " w-100"
46
+ className = " w-100 container-fluid px-0 "
48
47
>
48
+ <div
49
+ className = " d-flex justify-content-center w-100 row mx-0"
50
+ >
51
+ <div
52
+ className = " d-flex col-4 justify-content-end"
53
+ >
54
+ <img
55
+ height = { 50 }
56
+ width = { 50 }
57
+ />
58
+ </div >
59
+ <div
60
+ className = " col-4 container-fluid justify-content-center px-0"
61
+ >
62
+ <span
63
+ className = " text-capitalize text-font-weight-bold h3 row justify-content-center m-0"
64
+ >
65
+ 1
66
+ -
67
+ 5
68
+ </span >
69
+ <span
70
+ className = " row justify-content-center"
71
+ >
72
+ <FontAwesomeIcon
73
+ border = { false }
74
+ className = " "
75
+ fixedWidth = { false }
76
+ flip = { null }
77
+ icon = {
78
+ Object {
79
+ " icon" : Array [
80
+ 512 ,
81
+ 512 ,
82
+ Array [],
83
+ " f3ed" ,
84
+ " M496 128c0 221.282-135.934 344.645-221.539 380.308a48 48 0 0 1-36.923 0C130.495 463.713 16 326.487 16 128a48 48 0 0 1 29.539-44.308l192-80a48 48 0 0 1 36.923 0l192 80A48 48 0 0 1 496 128zM256 446.313l.066.034c93.735-46.689 172.497-156.308 175.817-307.729L256 65.333v380.98z" ,
85
+ ],
86
+ " iconName" : " shield-alt" ,
87
+ " prefix" : " fas" ,
88
+ }
89
+ }
90
+ inverse = { false }
91
+ listItem = { false }
92
+ mask = { null }
93
+ pull = { null }
94
+ pulse = { false }
95
+ rotation = { null }
96
+ size = { null }
97
+ spin = { false }
98
+ symbol = { false }
99
+ title = " "
100
+ transform = { null }
101
+ >
102
+ <svg
103
+ aria-hidden = " true"
104
+ className = " svg-inline--fa fa-shield-alt fa-w-16 "
105
+ data-icon = " shield-alt"
106
+ data-prefix = " fas"
107
+ role = " img"
108
+ style = { Object {}}
109
+ viewBox = " 0 0 512 512"
110
+ xmlns = " http://www.w3.org/2000/svg"
111
+ >
112
+ <path
113
+ d = " M496 128c0 221.282-135.934 344.645-221.539 380.308a48 48 0 0 1-36.923 0C130.495 463.713 16 326.487 16 128a48 48 0 0 1 29.539-44.308l192-80a48 48 0 0 1 36.923 0l192 80A48 48 0 0 1 496 128zM256 446.313l.066.034c93.735-46.689 172.497-156.308 175.817-307.729L256 65.333v380.98z"
114
+ fill = " currentColor"
115
+ style = { Object {}}
116
+ />
117
+ </svg >
118
+ </FontAwesomeIcon >
119
+ </span >
120
+ </div >
121
+ <div
122
+ className = " col-4 justify-content-start"
123
+ >
124
+ <img
125
+ height = { 50 }
126
+ width = { 50 }
127
+ />
128
+ </div >
129
+ </div >
49
130
<Row
50
131
bsClass = " row"
51
132
className = " d-flex justify-content-around "
@@ -86,70 +167,22 @@ exports[`MatchElement Component Should render 1`] = `
86
167
</Col >
87
168
<Col
88
169
bsClass = " col"
170
+ className = " d-flex"
89
171
componentClass = " div"
90
- sm = { 2 }
91
172
style = {
92
173
Object {
93
- " textAlign " : " center " ,
174
+ " padding " : 10 ,
94
175
}
95
176
}
96
177
>
97
178
<div
98
- className = " col-sm-2 "
179
+ className = " d-flex "
99
180
style = {
100
181
Object {
101
- " textAlign " : " center " ,
182
+ " padding " : 10 ,
102
183
}
103
184
}
104
- >
105
- <FontAwesomeIcon
106
- border = { false }
107
- className = " "
108
- fixedWidth = { false }
109
- flip = { null }
110
- icon = {
111
- Object {
112
- " icon" : Array [
113
- 512 ,
114
- 512 ,
115
- Array [],
116
- " f3ed" ,
117
- " M496 128c0 221.282-135.934 344.645-221.539 380.308a48 48 0 0 1-36.923 0C130.495 463.713 16 326.487 16 128a48 48 0 0 1 29.539-44.308l192-80a48 48 0 0 1 36.923 0l192 80A48 48 0 0 1 496 128zM256 446.313l.066.034c93.735-46.689 172.497-156.308 175.817-307.729L256 65.333v380.98z" ,
118
- ],
119
- " iconName" : " shield-alt" ,
120
- " prefix" : " fas" ,
121
- }
122
- }
123
- inverse = { false }
124
- listItem = { false }
125
- mask = { null }
126
- pull = { null }
127
- pulse = { false }
128
- rotation = { null }
129
- size = { null }
130
- spin = { false }
131
- symbol = { false }
132
- title = " "
133
- transform = { null }
134
- >
135
- <svg
136
- aria-hidden = " true"
137
- className = " svg-inline--fa fa-shield-alt fa-w-16 "
138
- data-icon = " shield-alt"
139
- data-prefix = " fas"
140
- role = " img"
141
- style = { Object {}}
142
- viewBox = " 0 0 512 512"
143
- xmlns = " http://www.w3.org/2000/svg"
144
- >
145
- <path
146
- d = " M496 128c0 221.282-135.934 344.645-221.539 380.308a48 48 0 0 1-36.923 0C130.495 463.713 16 326.487 16 128a48 48 0 0 1 29.539-44.308l192-80a48 48 0 0 1 36.923 0l192 80A48 48 0 0 1 496 128zM256 446.313l.066.034c93.735-46.689 172.497-156.308 175.817-307.729L256 65.333v380.98z"
147
- fill = " currentColor"
148
- style = { Object {}}
149
- />
150
- </svg >
151
- </FontAwesomeIcon >
152
- </div >
185
+ />
153
186
</Col >
154
187
<Col
155
188
bsClass = " col"
@@ -184,35 +217,59 @@ exports[`MatchElement Component Should render 1`] = `
184
217
</div >
185
218
</Row >
186
219
<div
187
- className = " d-flex justify-content-center w-100"
188
- >
189
- <img
190
- height = { 50 }
191
- width = { 50 }
192
- />
193
- <span
194
- className = " text-capitalize text-font-weight-bold h3 mx-3"
195
- >
196
- 1
197
- -
198
- 5
199
- </span >
200
- <img
201
- height = { 50 }
202
- width = { 50 }
203
- />
204
- </div >
205
- <div
206
- className = " d-flex"
207
- style = {
220
+ className = " d-flex justify-content-around"
221
+ />
222
+ </div >
223
+ <div
224
+ onClick = { [Function ]}
225
+ >
226
+ <FontAwesomeIcon
227
+ border = { false }
228
+ className = " "
229
+ fixedWidth = { false }
230
+ flip = { null }
231
+ icon = {
208
232
Object {
209
- " padding" : 10 ,
233
+ " icon" : Array [
234
+ 448 ,
235
+ 512 ,
236
+ Array [],
237
+ " f150" ,
238
+ " M448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM92.5 220.5l123 123c4.7 4.7 12.3 4.7 17 0l123-123c7.6-7.6 2.2-20.5-8.5-20.5H101c-10.7 0-16.1 12.9-8.5 20.5z" ,
239
+ ],
240
+ " iconName" : " caret-square-down" ,
241
+ " prefix" : " fas" ,
210
242
}
211
243
}
212
- />
213
- <div
214
- className = " d-flex justify-content-around "
215
- />
244
+ inverse = { false }
245
+ listItem = { false }
246
+ mask = { null }
247
+ pull = { null }
248
+ pulse = { false }
249
+ rotation = { null }
250
+ size = { null }
251
+ spin = { false }
252
+ symbol = { false }
253
+ title = " "
254
+ transform = { null }
255
+ >
256
+ <svg
257
+ aria-hidden = " true"
258
+ className = " svg-inline--fa fa-caret-square-down fa-w-14 "
259
+ data-icon = " caret-square-down"
260
+ data-prefix = " fas"
261
+ role = " img"
262
+ style = { Object {}}
263
+ viewBox = " 0 0 448 512"
264
+ xmlns = " http://www.w3.org/2000/svg"
265
+ >
266
+ <path
267
+ d = " M448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM92.5 220.5l123 123c4.7 4.7 12.3 4.7 17 0l123-123c7.6-7.6 2.2-20.5-8.5-20.5H101c-10.7 0-16.1 12.9-8.5 20.5z"
268
+ fill = " currentColor"
269
+ style = { Object {}}
270
+ />
271
+ </svg >
272
+ </FontAwesomeIcon >
216
273
</div >
217
274
</div >
218
275
</Col >
0 commit comments