Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add missed property 'key' in TabPaneProps
  • Loading branch information
ztplz authored and afc163 committed Oct 22, 2018
1 parent d814145 commit 682af0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/tabs/index.tsx
Expand Up @@ -42,6 +42,7 @@ export interface TabPaneProps {
className?: string;
disabled?: boolean;
forceRender?: boolean;
key?: string
}

export default class Tabs extends React.Component<TabsProps, any> {
Expand Down

1 comment on commit 682af0d

@aifang
Copy link

@aifang aifang commented on 682af0d Nov 20, 2018

Choose a reason for hiding this comment

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

should be key?:string | number

Please sign in to comment.