@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
39 lines (37 loc) • 1.25 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: 'IconResizeLarge',
props: {
size: iconSize.large,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--resizeLarge', 'IconResizeLarge');
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.726 2.243V1L1 22.735h1.243L22.726 2.243Z',
},
}), h('path', {
attrs: {
d: 'M2.242 22.735h1.234l19.25-19.259V2.242L2.242 22.735Z',
},
}), h('path', {
attrs: {
d: 'M14.099 22.735h1.233l7.394-7.403V14.1L14.1 22.735Z',
},
}), h('path', {
attrs: {
d: 'm14.099 22.735 8.627-8.636v-1.234l-9.861 9.87h1.234Z',
},
})]);
},
};