Skip to content

Commit

Permalink
fix: row gutter ts type
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 15, 2022
1 parent 9707506 commit 2efe1af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/grid/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export const rowProps = () => ({
align: String as PropType<typeof RowAligns[number]>,
justify: String as PropType<typeof RowJustify[number]>,
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 },
});

Expand Down

0 comments on commit 2efe1af

Please sign in to comment.