UNPKG

vuikit

Version:

A Vuejs component library based on UIkit

36 lines (32 loc) 742 B
/** * Vuikit 0.7.0 * (c) 2018 Miljan Aleksic * @license MIT */ // icon-close-icon export default { functional: true, render: function (h, ctx) { var props = ctx.props var ratio = props.ratio || 1 var width = props.width || 14 var height = props.height || 14 var viewBox = props.viewBox || '0 0 14 14' if (ratio !== 1) { width = width * ratio height = height * ratio } return h('svg', { attrs: { version: '1.1', meta: 'icon-close-icon ratio-' + ratio, width: width, height: height, viewBox: viewBox }, domProps: { innerHTML: '<path fill="none" stroke="#000" stroke-width="1.1" d="M1 1l12 12M13 1L1 13"/>' } }) } }