@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
36 lines (31 loc) • 1.75 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconPaymentVisa = {
name: 'IconPaymentVisa',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--visa', 'IconPaymentVisa');
return h('svg', helper.default([{
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: '#172B85',
'fill-rule': 'evenodd',
d: 'M7.566 14.953h-1.58L4.8 10.3c-.056-.214-.176-.404-.351-.493A5.044 5.044 0 0 0 3 9.313v-.179h2.546a.67.67 0 0 1 .659.582l.615 3.358 1.58-3.94h1.536l-2.37 5.82Zm3.249 0H9.322l1.23-5.819h1.492l-1.23 5.82Zm3.16-4.207c.044-.313.308-.492.615-.492a2.712 2.712 0 0 1 1.449.268l.263-1.253C15.863 9.09 15.38 9 14.942 9c-1.45 0-2.504.806-2.504 1.925 0 .85.747 1.298 1.274 1.567.57.268.79.447.746.716 0 .402-.439.582-.877.582a3.675 3.675 0 0 1-1.537-.359l-.264 1.254a4.2 4.2 0 0 0 1.625.313c1.624.045 2.634-.76 2.634-1.97 0-1.521-2.064-1.61-2.064-2.282Zm7.288 4.207-1.185-5.819h-1.273a.662.662 0 0 0-.615.448l-2.195 5.371h1.537l.306-.85h1.888l.176.85h1.36Zm-2.239-4.252.439 2.193h-1.23l.791-2.193Z',
'clip-rule': 'evenodd',
},
})]);
},
};
exports.default = IconPaymentVisa;