@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
27 lines (25 loc) • 1.64 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: 'IconPrepareBag',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--prepareBag', 'IconPrepareBag');
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: 'm14.87 10.095-.61-.444-.471-.34-.618-4.687c.522-.34.88-.923.88-1.594 0-1.045-.854-1.89-1.891-1.89H3.866A1.889 1.889 0 0 0 1.967 3.02c0 .697.383 1.298.95 1.63l-.732 5.148-.183.122h-.95v1.307h1.342l1.002-.67 1.341-.89c.183-.122.392-.183.601-.183h2.03v.218a1.09 1.09 0 0 1-1.089 1.09h-.975l-.654 1.306h4.077c.575 0 1.142-.209 1.577-.592l1.264-1.124c.4-.349.984-.375 1.41-.061l.062.043-2.37 2.684c-.209.226-.496.357-.81.357H1.052v1.307h8.346l.854-.044c.07-.009.14-.026.21-.043a2.423 2.423 0 0 0 1.184-.715l3.32-3.763-.097-.07v.017Zm-4.165-.68L9.442 10.54c-.2.174-.453.27-.715.27h-.313c.165-.331.261-.697.261-1.09V8.197H5.338c-.47 0-.932.14-1.332.4l-.366.245.557-3.903h7.693l.514 3.885a2.422 2.422 0 0 0-1.708.601l.009-.008Zm1.455-5.801H3.866a.59.59 0 0 1-.584-.584c0-.314.27-.584.584-.584h8.294a.59.59 0 0 1 .584.584c0 .314-.27.584-.584.584Z',
},
})]);
},
};