@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1 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: 'IconCheckLarge',
props: {
size: iconSize.large,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--checkLarge', 'IconCheckLarge');
return h('svg', _mergeJSXProps([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 32 32',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'm26.089 7.241-14.753 15.68-.105.114-1.163-1.313-4.13-4.655-1.313 1.164 5.303 5.915c.166.184.376.333.603.429.228.096.473.192.726.192.254 0 .5-.052.727-.157.227-.105.437-.245.612-.429l14.779-15.75-1.286-1.19Z',
},
})]);
},
};