@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1.21 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: 'IconWeight',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--weight', 'IconWeight');
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: 'M13.012 7.604c-.036-.538-.509-.965-1.084-.965H8.652V5.336h2.646c.36 0 .652-.293.652-.653V3.076a.652.652 0 0 0-1.305 0v.955h-5.29v-.955a.652.652 0 0 0-1.305 0v1.607c0 .36.292.653.652.653h2.646v1.303h-3.25c-.6 0-1.088.463-1.083.978l-.878 5.264-.012.075.006.077c.036.54.512.964 1.084.964h9.57c.571 0 1.048-.424 1.085-.965l.005-.075-.863-5.353Zm-4.36 5.089v-1.81a.652.652 0 0 0-1.304 0v1.81H3.491l.79-4.75h7.465l.765 4.75H8.652Z',
},
})]);
},
};