@entypo-icons/core
Version:
Entypo+ icons core package
20 lines • 1.05 kB
JavaScript
;
var paths = '<path d="M18.521 1.478a1 1 0 0 0-1.414 0L1.48 17.107a1 1 0 1 0 1.414 1.414L18.52 2.892a1 1 0 0 0 0-1.414zM3.108 13.498l2.56-2.56A4.18 4.18 0 0 1 5.555 10c0-2.379 1.99-4.309 4.445-4.309.286 0 .564.032.835.082l1.203-1.202A12.645 12.645 0 0 0 10 4.401C3.44 4.4 0 9.231 0 10c0 .423 1.057 2.09 3.108 3.497zm13.787-6.993l-2.562 2.56c.069.302.111.613.111.935 0 2.379-1.989 4.307-4.444 4.307-.284 0-.56-.032-.829-.081l-1.204 1.203c.642.104 1.316.17 2.033.17 6.56 0 10-4.833 10-5.599 0-.424-1.056-2.09-3.105-3.495z"></path>';
module.exports = {
icon: 'eye-with-line',
paths: paths,
getSvg: function() {
var head = '<svg xmlns="http://www.w3.org/2000/svg"';
head += ' viewBox="0 0 20 20">';
var tail = '</svg>';
return head + paths + tail;
},
getSprite: function() {
var head = '<svg xmlns="http://www.w3.org/2000/svg">';
head += '<symbol';
head += ' id="entypo-icon-eye-with-line"';
head += ' viewBox="0 0 20 20">';
var tail = '</symbol></svg>';
return head + paths + tail;
}
}