vuikit
Version:
A Vuejs component library based on UIkit
36 lines (32 loc) • 744 B
JavaScript
/**
* Vuikit 0.7.0
* (c) 2018 Miljan Aleksic
* @license MIT
*/
// icon-close-large
export default {
functional: true,
render: function (h, ctx) {
var props = ctx.props
var ratio = props.ratio || 1
var width = props.width || 20
var height = props.height || 20
var viewBox = props.viewBox || '0 0 20 20'
if (ratio !== 1) {
width = width * ratio
height = height * ratio
}
return h('svg', {
attrs: {
version: '1.1',
meta: 'icon-close-large ratio-' + ratio,
width: width,
height: height,
viewBox: viewBox
},
domProps: {
innerHTML: '<path fill="none" stroke="#000" stroke-width="1.4" d="M1 1l18 18M19 1L1 19"/>'
}
})
}
}