diff --git a/components/card/index.tsx b/components/card/index.tsx index 342d8a1b8f..759f81ccdb 100644 --- a/components/card/index.tsx +++ b/components/card/index.tsx @@ -19,6 +19,7 @@ export type CardType = 'inner'; export interface CardTabListType { key: string; tab: React.ReactNode; + disabled?: boolean; } export interface CardProps extends Omit, 'title'> { @@ -225,7 +226,7 @@ export default class Card extends React.Component { size="large" onChange={this.onTabChange} > - {tabList.map(item => )} + {tabList.map(item => )} ) : null; if (title || extra || tabs) {