Skip to content

Commit

Permalink
Merge pull request #15420 from akaguny/patch-1
Browse files Browse the repository at this point in the history
docs(tabs): onTabClick description
  • Loading branch information
afc163 committed Mar 15, 2019
2 parents e052031 + 59a6d49 commit 785820e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/tabs/index.en-US.md
Expand Up @@ -36,7 +36,9 @@ Ant Design has 3 types of Tabs for different situations.
| onEdit | Callback executed when tab is added or removed. Only works while `type="editable-card"` | (targetKey, action): void | - |
| onNextClick | Callback executed when next button is clicked | Function | - |
| onPrevClick | Callback executed when prev button is clicked | Function | - |
| onTabClick | Callback executed when tab is clicked | Function | - |
| onTabClick | Callback executed when tab is clicked | Function(key: string, event: MouseEvent) | - |

More option at [rc-tabs option](https://github.com/react-component/tabs#tabs)

### Tabs.TabPane

Expand All @@ -45,3 +47,5 @@ Ant Design has 3 types of Tabs for different situations.
| forceRender | Forced render of content in tabs, not lazy render after clicking on tabs | boolean | false |
| key | TabPane's key | string | - |
| tab | Show text in TabPane's head | string\|ReactNode | - |

More option at [rc-tabs option](https://github.com/react-component/tabs#tabpane)

0 comments on commit 785820e

Please sign in to comment.