Skip to content

Commit

Permalink
fix: list gutter support array
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined committed Sep 9, 2021
1 parent 4a28121 commit d2b7214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d2b7214

Please sign in to comment.