@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
58 lines (56 loc) • 1.79 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: 'IconSocialMicrosoftStatic',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--microsoftStatic', 'IconSocialMicrosoftStatic');
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('g', {
attrs: {
'clip-path': 'url(#prefix__clip0_2820_3494)',
},
}, [h('path', {
attrs: {
fill: '#00A3EE',
d: 'M7.372 14.5H1.5V8.618h5.905L7.372 14.5Z',
},
}), h('path', {
attrs: {
fill: '#FFB700',
d: 'M8.595 14.5H14.5V8.618H8.595V14.5Z',
},
}), h('path', {
attrs: {
fill: '#F15121',
d: 'M7.372 7.382H1.5V1.5h5.905l-.033 5.882Z',
},
}), h('path', {
attrs: {
fill: '#7EB801',
d: 'M14.5 7.382H8.595V1.5H14.5v5.882Z',
},
})]), h('defs', [h('clipPath', {
attrs: {
id: 'prefix__clip0_2820_3494',
},
}, [h('rect', {
attrs: {
width: '14',
height: '14',
fill: '#fff',
transform: 'translate(1 1)',
},
})])])]);
},
};