From 001a87181f890d5d799c65b8bb281e4af9581e52 Mon Sep 17 00:00:00 2001 From: Pit Date: Fri, 11 Nov 2016 00:45:15 +0300 Subject: [PATCH] Add Tabs' `inverse` and `hideMode` props in d.ts --- components/tabs/index.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/tabs/index.d.ts b/components/tabs/index.d.ts index 15e5ee75d..d4d737b7c 100644 --- a/components/tabs/index.d.ts +++ b/components/tabs/index.d.ts @@ -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. */