diff --git a/src/TabNavList/index.tsx b/src/TabNavList/index.tsx index 025567ec..104de1bc 100644 --- a/src/TabNavList/index.tsx +++ b/src/TabNavList/index.tsx @@ -43,7 +43,7 @@ export interface TabNavListProps { className?: string; style?: React.CSSProperties; locale?: TabsLocale; - onTabClick: (activeKey: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void; + onTabClick: (activeKey: string, e: React.MouseEvent | React.KeyboardEvent) => void; onTabScroll?: OnTabScroll; children?: (node: React.ReactElement) => React.ReactElement; }