@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1.12 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: 'IconThumbsUpFilled',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--thumbsUpFilled', 'IconThumbsUpFilled');
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: {
d: 'M4.868 13.906H1.874V7.344h3.063a12 12 0 0 0-.534 3.64c-.027.994.13 1.985.463 2.922m9.205-6.029a1.53 1.53 0 0 0-.998-.752l-2.45-.508.473-2.388a1.75 1.75 0 0 0-1.75-2.135h-.473L6.372 7.239a10 10 0 0 0-.647 3.736 6.7 6.7 0 0 0 .525 2.931h4.655a2.41 2.41 0 0 0 2.275-1.531l1.024-3.273a1.56 1.56 0 0 0-.132-1.225',
},
})]);
},
};