UNPKG

vuikit

Version:

A responsive Vue UI library for web site interfaces based on UIkit

29 lines (26 loc) 654 B
export default { functional: true, render: function (h, ctx) { var props = ctx.props var ratio = props.ratio || 1 var width = props.width || 7 var height = props.height || 12 var viewBox = props.viewBox || '0 0 7 12' if (ratio !== 1) { width = width * ratio height = height * ratio } return h('svg', { attrs: { version: '1.1', meta: 'icon-pagination-next ratio-' + ratio, width: width, height: height, viewBox: viewBox }, domProps: { innerHTML: '<path fill="none" stroke="#000" stroke-width="1.2" d="M1 1l5 5-5 5"/>' } }) } }