@justeattakeaway/pie-icons-vue
Version:
Shared PIE Icon Components for Vue.js.
27 lines (25 loc) • 1.53 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: 'IconBeauty',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--beauty', 'IconBeauty');
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: 'M13.371 2.647a4.508 4.508 0 0 0-3.999-1.255l-.714.13A1.557 1.557 0 0 0 7.447 2.63L6.332 6.593l-4.565 4.574c-.288.296-.453.68-.453 1.089 0 .41.157.801.453 1.089l.87.87a1.53 1.53 0 0 0 1.09.454c.392 0 .793-.148 1.089-.453l4.47-4.47 4.085-1.15a1.535 1.535 0 0 0 1.098-1.201l.14-.75a4.522 4.522 0 0 0-1.238-4.007v.009ZM3.892 13.293a.237.237 0 0 1-.34 0l-.87-.872a.233.233 0 0 1-.07-.165.2.2 0 0 1 .07-.166l2.334-2.335 1.203 1.203-2.335 2.335h.008Zm3.259-3.259L5.948 8.832l.915-.915.627.628.567.583-.915.906h.009Zm6.168-3.624-.14.75a.234.234 0 0 1-.174.182L9.207 8.414l1.75-.915-.966-.967-1.002.523.488-1.037-.985-.984-.845 1.794-.017-.017L8.7 2.986c.027-.087.096-.156.183-.165l.715-.13a3.161 3.161 0 0 1 2.84.888 3.156 3.156 0 0 1 .88 2.84V6.41Z',
},
})]);
},
};