Skip to content

Commit

Permalink
feat: change types into React.Key of tabs props
Browse files Browse the repository at this point in the history
  • Loading branch information
Lantianyou authored Mar 2, 2023
1 parent 81f004d commit 533ebed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type TabOffsetMap = Map<React.Key, TabOffset>;
export type TabPosition = 'left' | 'right' | 'top' | 'bottom';

export interface Tab extends Omit<TabPaneProps, 'tab'> {
key: string;
key: React.Key;
label: React.ReactNode;
}

Expand Down

0 comments on commit 533ebed

Please sign in to comment.