mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 19:18:07 +08:00
fix: row gutter ts type
This commit is contained in:
parent
9707506c5a
commit
2efe1af6b6
@ -21,7 +21,10 @@ export const rowProps = () => ({
|
|||||||
align: String as PropType<typeof RowAligns[number]>,
|
align: String as PropType<typeof RowAligns[number]>,
|
||||||
justify: String as PropType<typeof RowJustify[number]>,
|
justify: String as PropType<typeof RowJustify[number]>,
|
||||||
prefixCls: String,
|
prefixCls: String,
|
||||||
gutter: { type: [Number, Array, Object] as PropType<Gutter | [Gutter, Gutter]>, default: 0 },
|
gutter: {
|
||||||
|
type: [Number, Array] as PropType<Gutter | [Gutter, Gutter]>,
|
||||||
|
default: 0 as Gutter | [Gutter, Gutter],
|
||||||
|
},
|
||||||
wrap: { type: Boolean, default: undefined },
|
wrap: { type: Boolean, default: undefined },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user