@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1.19 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: 'IconCreditCardHomeFilled',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--creditCardHomeFilled', 'IconCreditCardHomeFilled');
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.939 5.322-.814 1.042a43 43 0 0 0-5.862-3.92 1.15 1.15 0 0 0-.543 0 43 43 0 0 0-5.845 3.92l-.814-1.042a46 46 0 0 1 6.125-4.068 2.08 2.08 0 0 1 1.637 0 46 46 0 0 1 6.116 4.068M2.75 10.406h10.5v2.844a.875.875 0 0 1-.875.875h-8.75a.875.875 0 0 1-.875-.875zm1.75 1.969h1.75V11.5H4.5zm7.875-5.25h-8.75A.875.875 0 0 0 2.75 8v1.094h10.5V8a.875.875 0 0 0-.875-.875',
},
})]);
},
};