fix: Typescript definition update for List component (#15462)

This commit is contained in:
DiamondYuan 2019-03-17 14:25:34 +08:00 committed by 偏右
parent 115db9df70
commit 3387ba181d

View File

@ -29,6 +29,8 @@ export interface ListGridType {
export type ListSize = 'small' | 'default' | 'large';
export type ListItemLayout = 'horizontal' | 'vertical';
export interface ListProps {
bordered?: boolean;
className?: string;
@ -37,7 +39,7 @@ export interface ListProps {
extra?: React.ReactNode;
grid?: ListGridType;
id?: string;
itemLayout?: string;
itemLayout?: ListItemLayout;
loading?: boolean | SpinProps;
loadMore?: React.ReactNode;
pagination?: PaginationConfig | false;