mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 20:20:00 +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;
|
className?: string;
|
||||||
type?: CardType;
|
type?: CardType;
|
||||||
cover?: React.ReactNode;
|
cover?: React.ReactNode;
|
||||||
actions?: Array<React.ReactNode>;
|
actions?: React.ReactNode[];
|
||||||
tabList?: CardTabListType[];
|
tabList?: CardTabListType[];
|
||||||
onTabChange?: (key: string) => void;
|
onTabChange?: (key: string) => void;
|
||||||
activeTabKey?: string;
|
activeTabKey?: string;
|
||||||
|
@ -10,7 +10,7 @@ export interface ListItemProps {
|
|||||||
prefixCls?: string;
|
prefixCls?: string;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
extra?: React.ReactNode;
|
extra?: React.ReactNode;
|
||||||
actions?: Array<React.ReactNode>;
|
actions?: React.ReactNode[];
|
||||||
grid?: ListGridType;
|
grid?: ListGridType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user