@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
39 lines (34 loc) • 1.32 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var _mergeJSXProps = require('@vue/babel-helper-vue-jsx-merge-props');
var configsVue = require('./pie-icons-configs/configs-vue.cjs');
var IconFlagSpain = {
name: 'IconFlagSpain',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--spain', 'IconFlagSpain');
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: {
fill: '#FFDA44',
d: 'M1 8c0 .856.153 1.677.438 2.434l6.562.61 6.562-.61a6.99 6.99 0 0 0 0-4.868L8 4.956l-6.563.61A6.99 6.99 0 0 0 1 8Z',
},
}), h('path', {
attrs: {
fill: '#D80027',
d: 'M14.562 5.566A7.001 7.001 0 0 0 4.003 2.254a7.002 7.002 0 0 0-2.566 3.312h13.125ZM1.438 10.434A7.002 7.002 0 0 0 8 15a6.999 6.999 0 0 0 6.562-4.566H1.438Z',
},
})]);
},
};
exports.default = IconFlagSpain;