mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
update typescript array definites
This commit is contained in:
parent
af2e76d64c
commit
78a82151eb
@ -38,7 +38,7 @@ export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 't
|
||||
className?: string;
|
||||
type?: CardType;
|
||||
cover?: React.ReactNode;
|
||||
actions?: Array<React.ReactNode>;
|
||||
actions?: React.ReactNode[];
|
||||
tabList?: CardTabListType[];
|
||||
onTabChange?: (key: string) => void;
|
||||
activeTabKey?: string;
|
||||
|
@ -10,7 +10,7 @@ export interface ListItemProps {
|
||||
prefixCls?: string;
|
||||
style?: React.CSSProperties;
|
||||
extra?: React.ReactNode;
|
||||
actions?: Array<React.ReactNode>;
|
||||
actions?: React.ReactNode[];
|
||||
grid?: ListGridType;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user