@@ -10,6 +10,7 @@ exports[`MatchElement Component Should render 1`] = `
1010 " avatar1" : " BABOON" ,
1111 " avatar2" : " BEAR" ,
1212 " games" : Array [],
13+ " match_mode" : " SELF" ,
1314 " playedAt" : " date string" ,
1415 " score1" : 1 ,
1516 " score2" : 5 ,
@@ -24,28 +25,108 @@ exports[`MatchElement Component Should render 1`] = `
2425 bsClass = " col"
2526 className = " mb-1"
2627 componentClass = " div"
27- onMouseEnter = { [Function ]}
28- onMouseLeave = { [Function ]}
2928 sm = { 12 }
3029 style = {
3130 Object {
3231 " borderRadius" : 5 ,
32+ " userSelect" : " none" ,
3333 }
3434 }
3535 >
3636 <div
3737 className = " mb-1 col-sm-12"
38- onMouseEnter = { [Function ]}
39- onMouseLeave = { [Function ]}
4038 style = {
4139 Object {
4240 " borderRadius" : 5 ,
41+ " userSelect" : " none" ,
4342 }
4443 }
4544 >
4645 <div
47- className = " w-100"
46+ className = " w-100 container-fluid px-0 "
4847 >
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 >
49130 <Row
50131 bsClass = " row"
51132 className = " d-flex justify-content-around "
@@ -86,70 +167,22 @@ exports[`MatchElement Component Should render 1`] = `
86167 </Col >
87168 <Col
88169 bsClass = " col"
170+ className = " d-flex"
89171 componentClass = " div"
90- sm = { 2 }
91172 style = {
92173 Object {
93- " textAlign " : " center " ,
174+ " padding " : 10 ,
94175 }
95176 }
96177 >
97178 <div
98- className = " col-sm-2 "
179+ className = " d-flex "
99180 style = {
100181 Object {
101- " textAlign " : " center " ,
182+ " padding " : 10 ,
102183 }
103184 }
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+ />
153186 </Col >
154187 <Col
155188 bsClass = " col"
@@ -184,35 +217,59 @@ exports[`MatchElement Component Should render 1`] = `
184217 </div >
185218 </Row >
186219 <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 = {
208232 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" ,
210242 }
211243 }
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 >
216273 </div >
217274 </div >
218275 </Col >
0 commit comments