fix: list gutter support array

pull/4632/head
undefined 3 years ago
parent 4a28121b91
commit d2b72143f0

@ -24,7 +24,7 @@ export { ListItemMetaProps } from './ItemMeta';
export type ColumnType = 'gutter' | 'column' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
export const ListGridType = {
gutter: PropTypes.number,
gutter: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(Number)]),
column: PropTypes.number,
xs: PropTypes.number,
sm: PropTypes.number,

Loading…
Cancel
Save