From 6e1014a64755757777ddc0a58b2d409590efe42e Mon Sep 17 00:00:00 2001
From: August Skare <post@augustskare.no>
Date: Mon, 19 Nov 2018 09:47:34 +0100
Subject: remove unnecessary children in Interface

---
 packages/dev-tools-pages/ts/components/Tabs.tsx | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'packages/dev-tools-pages/ts/components/Tabs.tsx')

diff --git a/packages/dev-tools-pages/ts/components/Tabs.tsx b/packages/dev-tools-pages/ts/components/Tabs.tsx
index c1d5f6b7f..ece0db866 100644
--- a/packages/dev-tools-pages/ts/components/Tabs.tsx
+++ b/packages/dev-tools-pages/ts/components/Tabs.tsx
@@ -46,11 +46,7 @@ const Root =
     }
 `;
 
-interface TabsProps {
-    children: React.ReactNode;
-}
-
-const Tabs: React.StatelessComponent<TabsProps> = props => (
+const Tabs: React.StatelessComponent<{}> = props => (
     <Breakout>
         <Root>
             <ReactTabs>
@@ -69,7 +65,6 @@ const Tabs: React.StatelessComponent<TabsProps> = props => (
 
 interface TabBlockProps {
     title: string;
-    children: React.ReactNode;
 }
 
 const TabBlock: React.StatelessComponent<TabBlockProps> = props => <React.Fragment>{props.children}</React.Fragment>;
-- 
cgit v1.2.3

