/
delete-edge.js
37 lines (35 loc) · 1.29 KB
/
delete-edge.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
import {svg} from '@cycle/dom';
export default (size) => svg('svg', {
attributes: {
preserveAspectRatio: 'xMidYMid meet',
'aria-hidden': true,
class: 'svg-icon',
viewBox: '0 0 128 128',
width: size,
height: size,
},
}, [
svg('path', {
class: 'icon-shape',
d: `M31.13,58.053C34.27,54.27 37.615,50.648 41.133,
47.199C46.308,42.126 51.854,37.43 57.72,33.173C63.513,
28.969 69.618,25.193 75.971,21.894C76.422,21.66 76.874,
21.428 77.328,21.199L69.194,3.24L127.088,8.393L92.775,
55.307L83.936,35.789C80.895,37.348 77.917,39.029 75.011,
40.827L68.77,44.971C67.877,44.344 66.863,43.895 65.801,
43.631C65.302,43.507 64.792,43.424 64.279,43.382C64.108,
43.368 63.937,43.363 63.766,43.354C63.594,43.354 63.423,
43.354 63.251,43.354C63.08,43.363 62.908,43.368 62.737,
43.382C62.395,43.41 62.055,43.456 61.718,43.521C60.707,
43.715 59.729,44.074 58.833,44.581C58.385,44.834 57.958,
45.124 57.556,45.446C57.423,45.554 57.295,45.668 57.164,
45.779L56.791,46.133L38,64.924L31.13,58.053Z`,
}),
svg('path', {
class: 'icon-shape danger',
d: `M75.149,113.508L64.508,124.149L39,98.641L13.492,
124.149L2.851,113.508L28.359,88L2.851,62.492L13.492,
51.851L39,77.359L64.508,51.851L75.149,62.492L49.641,
88L75.149,113.508Z`,
}),
]);