UNPKG

@justeattakeaway/pie-icons-vue

Version:
27 lines (25 loc) 898 B
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props'; import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue'; export default { name: 'IconChevronUp', props: { size: iconSize.regular, }, functional: true, render (h, ctx) { ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--chevronUp', 'IconChevronUp'); 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.18 10.97 8 5.615l-5.18 5.399-.962-.875 5.346-5.565a1.164 1.164 0 0 1 1.671 0l5.25 5.495-.945.901Z', }, })]); }, };