@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
44 lines (39 loc) • 1.4 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 IconFlagBelgium = {
name: 'IconFlagBelgium',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--belgium', 'IconFlagBelgium');
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: 'M10.433 1.438a6.986 6.986 0 0 0-4.867 0L4.956 8l.61 6.562a6.984 6.984 0 0 0 4.867 0L11.043 8l-.61-6.562Z',
},
}), h('path', {
attrs: {
fill: '#D80027',
d: 'M15 8a7 7 0 0 0-4.567-6.562v13.124A7.001 7.001 0 0 0 15 8Z',
},
}), h('path', {
attrs: {
fill: '#333',
d: 'M1 8a7 7 0 0 0 4.566 6.562V1.438A6.999 6.999 0 0 0 1 8Z',
},
})]);
},
};
exports.default = IconFlagBelgium;