@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
27 lines (25 loc) • 1.35 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: 'IconExperiment',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--experiment', 'IconExperiment');
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.062 11.986 10.187 6.34V2.42h.619V1.113H5.16V2.42h.601v3.912l-2.83 5.654a1.965 1.965 0 0 0 .086 1.934c.366.592 1.002.94 1.69.94h6.57c.696 0 1.332-.357 1.698-.949a1.98 1.98 0 0 0 .078-1.943l.009.018ZM8.872 2.42l.017 4.225.863 1.708c-.488-.009-.968-.296-1.464-.593-.427-.252-.897-.522-1.429-.653l.235-.462-.017-4.225h1.795Zm2.996 10.82a.676.676 0 0 1-.583.323H4.716a.69.69 0 0 1-.584-.323.661.661 0 0 1-.026-.662l2.135-4.243c.418-.017.888.253 1.367.55.61.365 1.307.783 2.17.783.174 0 .357-.026.566-.07l-.026-.104 1.568 3.084a.661.661 0 0 1-.026.662h.008Z',
},
})]);
},
};