@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
31 lines (29 loc) • 1.36 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: 'IconSignOpen',
props: {
size: iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--signOpen', 'IconSignOpen');
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: 'm7.834 10.569 2.826-3.054-.962-.892L7.143 9.37l-.84-.945-.98.875 1.128 1.269a.928.928 0 0 0 .683.297.895.895 0 0 0 .691-.297h.009Z',
},
}), h('path', {
attrs: {
d: 'M11.124 4.715 8.516 1.46H7.493L4.885 4.715H2.759c-.84 0-1.531.691-1.531 1.531v5.25c0 .84.69 1.531 1.53 1.531h10.5c.84 0 1.532-.69 1.532-1.53v-5.25c0-.84-.691-1.532-1.531-1.532h-2.135ZM8 2.921l1.444 1.794H6.565l1.444-1.794H8Zm5.469 8.575a.217.217 0 0 1-.219.219H2.75a.217.217 0 0 1-.219-.219v-5.25c0-.122.097-.218.219-.218h10.5c.123 0 .219.096.219.218v5.25Z',
},
})]);
},
};