@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
37 lines (32 loc) • 1.25 kB
JavaScript
'use strict';
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 IconSwap = {
name: 'IconSwap',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--swap', 'IconSwap');
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: 'M5.916 7.915 4.069 6.077h5.25V4.765H4.07l1.847-1.837L4.944 2 2.32 4.625a1.076 1.076 0 0 0 0 1.54L4.944 8.79l.972-.875Z',
},
}), h('path', {
attrs: {
d: 'm10.079 13.126 1.846-1.838h-5.25V9.976h5.25L10.08 8.138l.971-.927 2.625 2.625a1.075 1.075 0 0 1 0 1.54L11.05 14l-.971-.875Z',
},
})]);
},
};
exports.default = IconSwap;