@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
43 lines (41 loc) • 1.73 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: 'IconWalletAdd',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--walletAdd', 'IconWalletAdd');
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: 'M8.271 2.326s.061-.018.079-.018c.035 0 .061 0 .079.018.035.008.087.043.114.122l.096.228h1.417l-.306-.727a1.547 1.547 0 0 0-.831-.83 1.514 1.514 0 0 0-1.173 0L3.984 2.675h3.43l.84-.35h.017Z',
},
}), h('path', {
attrs: {
d: 'M3.047 5.52c0-.123.097-.22.22-.22h8.968c.123 0 .219.097.219.22v1.478h1.312V5.52c0-.84-.691-1.53-1.531-1.53H3.266a1.53 1.53 0 0 0-1.426.997c-.061.166-.105.35-.105.533v3.562h1.312V5.519Z',
},
}), h('path', {
attrs: {
d: 'M12.454 10.936v1.583a.217.217 0 0 1-.219.22H6.688v1.312h5.547c.84 0 1.531-.692 1.531-1.532v-1.583h-1.312Z',
},
}), h('path', {
attrs: {
d: 'M11.588 8.31v1.313h3.027V8.311h-3.027Z',
},
}), h('path', {
attrs: {
d: 'M5.375 11.924H3.844v-1.53H2.53v1.53H1v1.313h1.531v1.531h1.313v-1.531h1.531v-1.313Z',
},
})]);
},
};