mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
refactor(list): improve grid gutter type (#45791)
This commit is contained in:
parent
9ae02f7ccf
commit
c73f56e4ea
@ -7,6 +7,7 @@ import { responsiveArray } from '../_util/responsiveObserver';
|
||||
import { ConfigContext } from '../config-provider';
|
||||
import DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';
|
||||
import { Row } from '../grid';
|
||||
import type { RowProps } from '../grid';
|
||||
import useBreakpoint from '../grid/hooks/useBreakpoint';
|
||||
import type { PaginationConfig } from '../pagination';
|
||||
import Pagination from '../pagination';
|
||||
@ -27,7 +28,7 @@ export type ColumnCount = number;
|
||||
export type ColumnType = 'gutter' | 'column' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
||||
|
||||
export interface ListGridType {
|
||||
gutter?: number;
|
||||
gutter?: RowProps['gutter'];
|
||||
column?: ColumnCount;
|
||||
xs?: ColumnCount;
|
||||
sm?: ColumnCount;
|
||||
|
Loading…
Reference in New Issue
Block a user