UNPKG

@justeattakeaway/pie-icons-vue

Version:
31 lines (29 loc) 1.12 kB
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props'; import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue'; export default { name: 'IconSwapLarge', props: { size: iconSize.large, }, functional: true, render (h, ctx) { ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--swapLarge', 'IconSwapLarge'); 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: 'M21.351 16.984 25.43 21H13.835v1.75H25.36l-4.008 4.016L22.585 28l4.935-4.926a1.75 1.75 0 0 0 0-2.398l-4.935-4.926-1.234 1.234Z', }, }), h('path', { attrs: { d: 'M10.639 5.234 6.56 9.25h11.594V11H6.631l4.008 4.016-1.234 1.234-4.935-4.926a1.75 1.75 0 0 1 0-2.398L9.405 4l1.234 1.234Z', }, })]); }, };