hi-link-ui
Version:
## Project setup ``` npm install ```
27 lines (26 loc) • 567 B
JavaScript
export default {
name:'HiRow',
props:{
padding:{
type:[Number,String],
default:0
},
tag:{
type:String,
default: 'div'
},
isVerticalLine:{
type:Boolean,
default:false
}
},
render(createElement, context) {
return createElement(
this.tag,
{
class:['hi-row',this.isVerticalLine?'hi-row-line':'']
},
this.$slots.default
)
}
}