uview-next
Version:
基于uView UI 2.0,110+高质量组件库,支持vue2和vue3,支持鸿蒙,支持多语言,搭配便捷工具助力,让开发更得心应手
23 lines (22 loc) • 641 B
JavaScript
import { defineProps } from '../../libs/util/props';
export default defineProps('row', {
// 给col添加间距,左右边距各占一半
gutter: {
type: [String, Number],
default: 0
},
// 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
justify: {
type: String,
default: 'start'
},
// 垂直对齐方式,可选值为top、center、bottom
align: {
type: String,
default: 'center'
},
wrap: {
type: Boolean,
default: false
}
})