@@ -11,24 +11,12 @@ exports[`Using lucide icon components > should adjust the size, stroke color and
11
11
stroke-linecap = " round"
12
12
stroke-linejoin = " round"
13
13
>
14
- <rect fill = " none"
15
- stroke = " red"
16
- stroke-width = " 4"
17
- stroke-linecap = " round"
18
- stroke-linejoin = " round"
19
- width = " 18"
20
- height = " 18"
21
- x = " 3"
22
- y = " 3"
23
- rx = " 2"
24
- >
25
- </rect >
26
14
<path fill = " none"
27
15
stroke = " red"
28
16
stroke-width = " 4"
29
17
stroke-linecap = " round"
30
18
stroke-linejoin = " round"
31
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
19
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
32
20
>
33
21
</path >
34
22
</svg >
@@ -46,24 +34,12 @@ exports[`Using lucide icon components > should duplicate properties to children
46
34
stroke-linejoin = " round"
47
35
data-testid = " multiple-children"
48
36
>
49
- <rect fill = " red"
50
- stroke = " white"
51
- stroke-width = " 10"
52
- stroke-linecap = " round"
53
- stroke-linejoin = " round"
54
- width = " 18"
55
- height = " 18"
56
- x = " 3"
57
- y = " 3"
58
- rx = " 2"
59
- >
60
- </rect >
61
37
<path fill = " red"
62
38
stroke = " white"
63
39
stroke-width = " 10"
64
40
stroke-linecap = " round"
65
41
stroke-linejoin = " round"
66
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
42
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
67
43
>
68
44
</path >
69
45
</svg >
@@ -80,24 +56,12 @@ exports[`Using lucide icon components > should not scale the strokeWidth when ab
80
56
stroke-linecap = " round"
81
57
stroke-linejoin = " round"
82
58
>
83
- <rect fill = " none"
84
- stroke = " red"
85
- stroke-width = " 1"
86
- stroke-linecap = " round"
87
- stroke-linejoin = " round"
88
- width = " 18"
89
- height = " 18"
90
- x = " 3"
91
- y = " 3"
92
- rx = " 2"
93
- >
94
- </rect >
95
59
<path fill = " none"
96
60
stroke = " red"
97
61
stroke-width = " 1"
98
62
stroke-linecap = " round"
99
63
stroke-linejoin = " round"
100
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
64
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
101
65
>
102
66
</path >
103
67
</svg >
@@ -114,24 +78,12 @@ exports[`Using lucide icon components > should render an component 1`] = `
114
78
stroke-linecap = " round"
115
79
stroke-linejoin = " round"
116
80
>
117
- <rect fill = " none"
118
- stroke = " currentColor"
119
- stroke-width = " 2"
120
- stroke-linecap = " round"
121
- stroke-linejoin = " round"
122
- width = " 18"
123
- height = " 18"
124
- x = " 3"
125
- y = " 3"
126
- rx = " 2"
127
- >
128
- </rect >
129
81
<path fill = " none"
130
82
stroke = " currentColor"
131
83
stroke-width = " 2"
132
84
stroke-linecap = " round"
133
85
stroke-linejoin = " round"
134
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
86
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
135
87
>
136
88
</path >
137
89
</svg >
@@ -149,24 +101,12 @@ exports[`Using lucide icon components > should work with a single child componen
149
101
stroke-linejoin = " round"
150
102
data-testid = " single-child"
151
103
>
152
- <rect fill = " none"
153
- stroke = " currentColor"
154
- stroke-width = " 2"
155
- stroke-linecap = " round"
156
- stroke-linejoin = " round"
157
- width = " 18"
158
- height = " 18"
159
- x = " 3"
160
- y = " 3"
161
- rx = " 2"
162
- >
163
- </rect >
164
104
<path fill = " none"
165
105
stroke = " currentColor"
166
106
stroke-width = " 2"
167
107
stroke-linecap = " round"
168
108
stroke-linejoin = " round"
169
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
109
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
170
110
>
171
111
</path >
172
112
<svg xmlns = " http://www.w3.org/2000/svg"
@@ -180,24 +120,12 @@ exports[`Using lucide icon components > should work with a single child componen
180
120
stroke-linejoin = " round"
181
121
data-testid = " child"
182
122
>
183
- <rect fill = " none"
184
- stroke = " currentColor"
185
- stroke-width = " 2"
186
- stroke-linecap = " round"
187
- stroke-linejoin = " round"
188
- width = " 18"
189
- height = " 18"
190
- x = " 3"
191
- y = " 3"
192
- rx = " 2"
193
- >
194
- </rect >
195
123
<path fill = " none"
196
124
stroke = " currentColor"
197
125
stroke-width = " 2"
198
126
stroke-linecap = " round"
199
127
stroke-linejoin = " round"
200
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
128
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
201
129
>
202
130
</path >
203
131
</svg >
@@ -216,24 +144,12 @@ exports[`Using lucide icon components > should work with several children compon
216
144
stroke-linejoin = " round"
217
145
data-testid = " multiple-children"
218
146
>
219
- <rect fill = " none"
220
- stroke = " currentColor"
221
- stroke-width = " 2"
222
- stroke-linecap = " round"
223
- stroke-linejoin = " round"
224
- width = " 18"
225
- height = " 18"
226
- x = " 3"
227
- y = " 3"
228
- rx = " 2"
229
- >
230
- </rect >
231
147
<path fill = " none"
232
148
stroke = " currentColor"
233
149
stroke-width = " 2"
234
150
stroke-linecap = " round"
235
151
stroke-linejoin = " round"
236
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
152
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
237
153
>
238
154
</path >
239
155
<svg xmlns = " http://www.w3.org/2000/svg"
@@ -247,24 +163,12 @@ exports[`Using lucide icon components > should work with several children compon
247
163
stroke-linejoin = " round"
248
164
data-testid = " child1"
249
165
>
250
- <rect fill = " none"
251
- stroke = " currentColor"
252
- stroke-width = " 2"
253
- stroke-linecap = " round"
254
- stroke-linejoin = " round"
255
- width = " 18"
256
- height = " 18"
257
- x = " 3"
258
- y = " 3"
259
- rx = " 2"
260
- >
261
- </rect >
262
166
<path fill = " none"
263
167
stroke = " currentColor"
264
168
stroke-width = " 2"
265
169
stroke-linecap = " round"
266
170
stroke-linejoin = " round"
267
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
171
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
268
172
>
269
173
</path >
270
174
</svg >
@@ -279,24 +183,12 @@ exports[`Using lucide icon components > should work with several children compon
279
183
stroke-linejoin = " round"
280
184
data-testid = " child2"
281
185
>
282
- <rect fill = " none"
283
- stroke = " currentColor"
284
- stroke-width = " 2"
285
- stroke-linecap = " round"
286
- stroke-linejoin = " round"
287
- width = " 18"
288
- height = " 18"
289
- x = " 3"
290
- y = " 3"
291
- rx = " 2"
292
- >
293
- </rect >
294
186
<path fill = " none"
295
187
stroke = " currentColor"
296
188
stroke-width = " 2"
297
189
stroke-linecap = " round"
298
190
stroke-linejoin = " round"
299
- d = " M3 9h18M3 15h18M9 3v18M15 3v18"
191
+ d = " M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM3 9h18M3 15h18M9 3v18M15 3v18"
300
192
>
301
193
</path >
302
194
</svg >
0 commit comments