Skip to content

Commit

Permalink
fix: type of onTabClick (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunsii authored Nov 26, 2021
1 parent b822a94 commit a3e9630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TabNavList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

1 comment on commit a3e9630

@vercel
Copy link

@vercel vercel bot commented on a3e9630 Nov 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.