UNPKG

@justeattakeaway/pie-icons-vue

Version:
27 lines (25 loc) 1.05 kB
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props'; import { iconSize, updateContextData } from '@justeattakeaway/pie-icons-configs/configs-vue'; export default { name: 'IconCaretRight', props: { size: iconSize.regular, }, functional: true, render (h, ctx) { ctx.data = updateContextData(ctx, 'c-pieIcon c-pieIcon--caretRight', 'IconCaretRight'); 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: 'M11.675 6.749 5.734 2.978a1.3 1.3 0 0 0-.709-.228 1.304 1.304 0 0 0-1.313 1.313v7.822a1.32 1.32 0 0 0 .7 1.164c.189.1.4.151.613.149.265.002.525-.077.744-.228l5.941-4.06a1.29 1.29 0 0 0 .577-1.102 1.31 1.31 0 0 0-.612-1.06m-6.65 5.162V4.09l5.95 3.771z', }, })]); }, };