@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
40 lines (37 loc) • 1.36 kB
JavaScript
import _mergeJSXProps from './node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.mjs';
import { iconSize, updateContextData } from './packages/tools/pie-icons-configs/configs-vue.mjs';
var IconFlagGermany = {
name: 'IconFlagGermany',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--germany', 'IconFlagGermany');
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.438 10.435a7.001 7.001 0 0 0 13.127 0L8 9.828l-6.563.607Z',
},
}), h('path', {
attrs: {
fill: '#333',
d: 'M8.001 1a7.001 7.001 0 0 0-6.563 4.567L8 6.174l6.564-.607A7.001 7.001 0 0 0 8 1Z',
},
}), h('path', {
attrs: {
fill: '#D80027',
d: 'M1.438 5.567a6.987 6.987 0 0 0 0 4.868h13.127a6.984 6.984 0 0 0 0-4.868H1.438Z',
},
})]);
},
};
export { IconFlagGermany as default };