From 8c20848fe87c60eba44ee09702f08adf246e2e57 Mon Sep 17 00:00:00 2001 From: Randy Coulman Date: Fri, 8 Jul 2016 14:36:55 -0700 Subject: [PATCH] Forward theme prop from Tabs to TabContent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `Tabs` component takes a `theme`, but was not forwarding it on to its internal `TabContent` component, so it wasn’t possible to theme the `tabs` or `active` classes. --- components/tabs/Tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tabs/Tabs.js b/components/tabs/Tabs.js index ecb5dd0b..5acd1d33 100644 --- a/components/tabs/Tabs.js +++ b/components/tabs/Tabs.js @@ -52,7 +52,7 @@ const factory = (Tab, TabContent) => { if (item.type === Tab) { headers.push(item); if (item.props.children) { - contents.push(); + contents.push(); } } else if (item.type === TabContent) { contents.push(item);