@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
29 lines (27 loc) • 1.29 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: 'IconShare2',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--share2', 'IconShare2');
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: {
'fill-rule': 'evenodd',
d: 'm8.656 3.301 1.83 1.829.927-.928L8.77 1.56A1.06 1.06 0 0 0 8 1.236c-.28 0-.56.114-.77.324L4.58 4.211l.927.928L7.344 3.3v5.233h1.312V3.3ZM9.97 6.162h1.094c.84 0 1.53.692 1.53 1.532v5.25c0 .84-.69 1.531-1.53 1.531H4.936c-.84 0-1.53-.691-1.53-1.531v-5.25c0-.84.69-1.532 1.53-1.532h1.094v1.313H4.938a.217.217 0 0 0-.22.219v5.25c0 .122.097.218.22.218h6.125a.217.217 0 0 0 .218-.218v-5.25a.217.217 0 0 0-.219-.219H9.97V6.162Z',
'clip-rule': 'evenodd',
},
})]);
},
};