@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
38 lines (36 loc) • 1.27 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: 'IconFlagRomania',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--romania', 'IconFlagRomania');
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: 'M7.997 1a6.9 6.9 0 0 0-2.433.438L1.244 8l4.32 6.563a6.98 6.98 0 0 0 4.867 0L14.751 8l-4.32-6.562A7 7 0 0 0 7.997 1',
},
}), h('path', {
attrs: {
fill: '#d80027',
d: 'M14.997 8a7 7 0 0 0-4.566-6.562v13.125A7 7 0 0 0 14.997 8',
},
}), h('path', {
attrs: {
fill: '#0052b4',
d: 'M5.564 14.563V1.438a7 7 0 0 0 0 13.125',
},
})]);
},
};