@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
33 lines (28 loc) • 1.29 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 IconHeart = {
name: 'IconHeart',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--heart', 'IconHeart');
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: 'M8 14.195 2.234 8.263a3.745 3.745 0 0 1 0-5.128 3.413 3.413 0 0 1 4.9 0l.875.875.875-.875a3.421 3.421 0 0 1 4.909 0 3.754 3.754 0 0 1 0 5.128L8 14.195ZM4.675 3.406a2.082 2.082 0 0 0-1.514.648 2.432 2.432 0 0 0 0 3.29l4.84 4.961 4.838-4.97a2.432 2.432 0 0 0 0-3.281 2.135 2.135 0 0 0-3.045 0L8.735 5.086a1.103 1.103 0 0 1-1.531 0L6.189 4.054a2.1 2.1 0 0 0-1.514-.648Z',
},
})]);
},
};
exports.default = IconHeart;