@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
31 lines (29 loc) • 1.42 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: 'IconLocalHero',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--localHero', 'IconLocalHero');
return h('svg', _mergeJSXProps([{
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: 'M11.8 1.31c.29 0 .57.1.793.283l.092.083 1.831 1.832a1.25 1.25 0 0 1 .064 1.7l-5.725 6.64a1.25 1.25 0 0 1-1.897-.003l-5.693-6.65a1.25 1.25 0 0 1 .041-1.67l1.722-1.823.093-.09a1.25 1.25 0 0 1 .815-.302H11.8ZM2.551 4.391l5.358 6.257 5.381-6.244-1.593-1.594H4.044L2.551 4.391Z',
},
}), h('path', {
attrs: {
d: 'M12.95 12.92c0 1.43-2.601 2.08-5.021 2.08-2.421 0-5.022-.65-5.022-2.08 0-.78.768-1.316 1.808-1.644l.818.853c-1.12.27-1.622.635-1.622.79 0 .266 1.381 1.04 4.018 1.04 2.636 0 4.017-.774 4.017-1.04 0-.155-.502-.52-1.622-.79l.819-.853c1.039.328 1.807.863 1.807 1.643Z',
},
})]);
},
};