@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
33 lines (28 loc) • 1.64 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconTool = {
name: 'IconTool',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--tool', 'IconTool');
return h('svg', helper.default([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 16 16',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M14.835 5.095c-.149-1.072-1.455-1.516-2.222-.75l-.706.706-.662-.287-.287-.663.706-.705c.766-.767.322-2.074-.75-2.222a5.058 5.058 0 0 0-.627-.043c-1.228 0-2.37.47-3.232 1.333a4.567 4.567 0 0 0-1.063 4.8L1.889 10.94c-.723.645-.967 1.664-.593 2.527a2.282 2.282 0 0 0 2.091 1.402c.627 0 1.237-.27 1.664-.731l3.66-4.139a4.576 4.576 0 0 0 4.852-1.037 4.548 4.548 0 0 0 1.289-3.85l-.017-.017Zm-2.213 2.927a3.26 3.26 0 0 1-2.309.958c-.67 0-1.35-.209-1.925-.618l-4.321 4.896a.951.951 0 0 1-.697.305.958.958 0 0 1-.889-.61c-.157-.357-.026-.784.261-1.037l4.862-4.338c-.889-1.281-.776-3.05.366-4.182a3.25 3.25 0 0 1 2.308-.95c.148 0 .296.009.453.026L9.398 3.805l.854 1.943 1.943.854 1.333-1.333a3.264 3.264 0 0 1-.915 2.753h.009Z',
},
})]);
},
};
exports.default = IconTool;