@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
29 lines (27 loc) • 1.34 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: 'IconShare2Large',
props: {
size: iconSize.large,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--share2Large', 'IconShare2Large');
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: {
'fill-rule': 'evenodd',
d: 'm16.875 5.736 4.016 4.087v-.01l1.234-1.233-4.926-4.926A1.71 1.71 0 0 0 16 3.164c-.438 0-.866.157-1.199.49L9.875 8.589l1.234 1.234 4.016-4.017V17.33h1.75V5.736Zm2.625 5.679h2.625a2.633 2.633 0 0 1 2.625 2.625v11.375a2.633 2.633 0 0 1-2.625 2.625H9.875a2.633 2.633 0 0 1-2.625-2.625V14.04a2.633 2.633 0 0 1 2.625-2.625H12.5v1.75H9.875A.878.878 0 0 0 9 14.04v11.375c0 .481.394.875.875.875h12.25a.878.878 0 0 0 .875-.875V14.04a.878.878 0 0 0-.875-.875H19.5v-1.75Z',
'clip-rule': 'evenodd',
},
})]);
},
};