@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1.3 kB
JavaScript
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue';
export default {
name: 'IconOfferLarge',
props: {
size: iconSize.large,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--offerLarge', 'IconOfferLarge');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 32 32',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M22.125 5.212c.113-.17.242-.328.385-.473a3.369 3.369 0 0 1 4.76 0l1.242-1.234a5.136 5.136 0 0 0-7.245 0c-.43.44-.78.953-1.032 1.514l-4.157-.394a2.31 2.31 0 0 0-1.828.657L2.69 16.797l11.945 13.125 12.092-12.128a2.336 2.336 0 0 0 .648-1.873l-1.006-10.28-4.244-.43Zm3.377 11.375L14.696 27.375l-9.625-10.5L15.44 6.515a.586.586 0 0 1 .472-.14l3.876.385a5.25 5.25 0 0 0 .473 2.573A1.75 1.75 0 1 0 23 10.75a1.75 1.75 0 0 0-.517-1.242 3.35 3.35 0 0 1-.97-2.625l3.237.367.875 8.864a.577.577 0 0 1-.14.446l.017.027Z',
},
})]);
},
};