Skip to content

Commit

Permalink
Add Tabs' inverse and hideMode props in d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherpit committed Nov 10, 2016
1 parent 8964781 commit 001a871
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions components/tabs/index.d.ts
Expand Up @@ -39,6 +39,17 @@ interface TabsProps extends ReactToolbox.Props {
* @default 0
*/
index?: number;
/**
* `unmounted` mode will not mount the tab content of inactive tabs.
* `display` mode will mount but hide inactive tabs.
* Consider holding state outside of the Tabs component before using `display` mode
* @default unmounted
*/
hideMode?: 'display' | 'unmounted';
/**
* If True, the tabs will have an inverse style.
*/
inverse?: boolean;
/**
* Callback function that is fired when the tab changes.
*/
Expand Down

0 comments on commit 001a871

Please sign in to comment.