@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
26 lines (24 loc) • 1.14 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: 'IconSignEmpty',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--signEmpty', 'IconSignEmpty');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M13.112 4.723h-2.078L8.46 1.46h-.99L4.897 4.723H2.82c-.396 0-.792.198-1.09.495-.296.296-.395.692-.494 1.088v5.142c0 .395.198.79.495 1.088.297.296.693.395 1.089.494h10.39c.396 0 .792-.198 1.089-.494.297-.297.396-.693.495-1.088V6.306c0-.396-.198-.792-.495-1.088-.297-.297-.693-.396-1.089-.495h-.099Zm-5.147-1.68 1.386 1.78h-2.87l1.385-1.78h.1Zm5.444 8.405v.198H2.621V6.108h10.788v5.34Z',
},
})]);
},
};