@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
58 lines (56 loc) • 3 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: 'IconPaymentGooglePay',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--googlePay', 'IconPaymentGooglePay');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 24 24',
},
}, ctx.data]), [h('path', {
attrs: {
fill: '#5F6368',
d: 'M11.488 11.921v2.14h-.682V8.784h1.798c.433 0 .853.158 1.168.46.315.289.486.682.486 1.115 0 .42-.171.84-.486 1.116-.315.302-.696.446-1.168.446h-1.116Zm0-2.48v1.837h1.142c.25 0 .499-.092.67-.276a.895.895 0 0 0 .012-1.273H13.3a.888.888 0 0 0-.669-.301h-1.142v.013Z',
},
}), h('path', {
attrs: {
fill: '#5F6368',
d: 'M15.806 10.333c.499 0 .893.131 1.182.407.288.262.433.63.433 1.102v2.219h-.643v-.5h-.027c-.275.408-.656.618-1.115.618-.394 0-.735-.118-.998-.355a1.141 1.141 0 0 1-.407-.879c0-.367.145-.67.42-.893.276-.223.656-.328 1.129-.328.407 0 .735.08.998.223v-.157a.817.817 0 0 0-.276-.604.995.995 0 0 0-.656-.25c-.381 0-.683.158-.893.473l-.59-.38c.328-.473.813-.709 1.456-.709l-.013.013Zm-.88 2.625c0 .17.08.341.224.446a.767.767 0 0 0 .525.171c.289 0 .564-.118.761-.315a1 1 0 0 0 .341-.748c-.21-.17-.511-.25-.879-.25-.275 0-.499.066-.682.197-.184.132-.276.302-.276.5h-.013Z',
},
}), h('path', {
attrs: {
fill: '#5F6368',
d: 'm21.148 10.451-2.257 5.198h-.696l.84-1.825-1.483-3.373h.735l1.076 2.586h.013l1.05-2.586h.735-.013Z',
},
}), h('path', {
attrs: {
fill: '#4285F4',
d: 'M8.745 11.462c0-.21-.013-.407-.052-.617H5.844v1.168h1.641a1.39 1.39 0 0 1-.604.919v.761h.971c.578-.525.906-1.312.906-2.231h-.013Z',
},
}), h('path', {
attrs: {
fill: '#34A853',
d: 'M5.844 14.415c.814 0 1.51-.262 2.008-.735l-.97-.761c-.276.183-.618.288-1.038.288-.787 0-1.457-.538-1.706-1.246h-1.01v.774a3.023 3.023 0 0 0 2.703 1.667l.013.013Z',
},
}), h('path', {
attrs: {
fill: '#FBBC04',
d: 'M4.138 11.96a1.743 1.743 0 0 1 0-1.154v-.775h-1.01a3.003 3.003 0 0 0 0 2.717l1.01-.774v-.013Z',
},
}), h('path', {
attrs: {
fill: '#EA4335',
d: 'M5.844 9.559c.433 0 .853.157 1.155.46l.867-.867a2.903 2.903 0 0 0-2.022-.788 3.023 3.023 0 0 0-2.703 1.667l1.01.775a1.797 1.797 0 0 1 1.707-1.247h-.014Z',
},
})]);
},
};