mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
fix: Typescript definition update for List component (#15462)
This commit is contained in:
parent
115db9df70
commit
3387ba181d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user