vuikit
Version:
A responsive Vue UI library for web site interfaces based on UIkit
21 lines (19 loc) • 430 B
JavaScript
export default {
functional: true,
render: function (h, { props }) {
let width = props.width || 20
let height = props.height || 20
const viewBox = props.viewBox || '0 0 20 20'
return h('svg', {
attrs: {
version: '1.1',
width: width,
height: height,
viewBox: viewBox
},
domProps: {
innerHTML: '<polygon points="5 7 15 7 10 12" />'
}
})
}
}