@entypo-icons/core
Version:
Entypo+ icons core package
20 lines • 1.02 kB
JavaScript
;
var paths = '<path d="M12.165 17.86c-.028.309.217.584.545.611l3.985.326c.329.027.621-.203.65-.512l.311-3.287-5.18-.426-.311 3.288zm-9.821-2.861l.312 3.287c.028.309.321.539.65.512l3.985-.326c.328-.027.573-.303.546-.611l-.312-3.287-5.181.425zm-.513-5.416l.321 3.391 5.181-.426-.322-3.387A2.949 2.949 0 0 1 7 8.911c0-1.555 1.346-2.82 3-2.82s3 1.266 3 2.82c0 .084-.004.168-.012.25l-.321 3.387 5.181.426.321-3.391c.021-.225.03-.449.03-.672C18.2 4.659 14.522 1.2 10 1.2S1.8 4.659 1.8 8.911c0 .223.011.447.031.672z"></path>';
module.exports = {
icon: 'magnet',
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-magnet"';
head += ' viewBox="0 0 20 20">';
var tail = '</symbol></svg>';
return head + paths + tail;
}
}