@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
39 lines (37 loc) • 1.22 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: 'IconResize',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--resize', 'IconResize');
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: 'M.927 10.325h.928l8.47-8.47V.927L.927 10.325Z',
},
}), h('path', {
attrs: {
d: 'M10.325.928V0L0 10.325h.928L10.325.928Z',
},
}), h('path', {
attrs: {
d: 'm6.501 10.325 3.824-3.824v-.927l-4.751 4.751H6.5Z',
},
}), h('path', {
attrs: {
d: 'M7.429 10.325h-.928l3.824-3.824v.928L7.43 10.325Z',
},
})]);
},
};