UNPKG

@justeattakeaway/pie-icons-vue

Version:
27 lines (25 loc) 936 B
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props'; import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue'; export default { name: 'IconLoading', props: { size: iconSize.regular, }, functional: true, render (h, ctx) { ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--loading', 'IconLoading'); 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: 'M14.781 8A6.782 6.782 0 1 1 8 1.219V2.53A5.469 5.469 0 1 0 13.469 8h1.312ZM4.72 8H6.03A1.969 1.969 0 1 1 8 9.969v1.312A3.282 3.282 0 1 0 4.719 8Z', }, })]); }, };