@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
33 lines (31 loc) • 1.15 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: 'IconFlagSpain',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = 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-.61a7 7 0 0 0 0-4.868L8 4.956l-6.562.61A7 7 0 0 0 1 8',
},
}), h('path', {
attrs: {
fill: '#d80027',
d: 'M14.562 5.566A7 7 0 0 0 4.003 2.254a7 7 0 0 0-2.565 3.312zM1.438 10.434A7 7 0 0 0 8 15a7 7 0 0 0 6.562-4.566z',
},
})]);
},
};