aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Tabs.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-11-19 16:47:34 +0800
committerAugust Skare <post@augustskare.no>2018-11-19 16:47:34 +0800
commit6e1014a64755757777ddc0a58b2d409590efe42e (patch)
treeebb6b7534b5b82c92bc93693df693aca21918fb7 /packages/dev-tools-pages/ts/components/Tabs.tsx
parent0b46f44ad37afb17341b394b16e3317e3bbbd285 (diff)
downloaddexon-sol-tools-6e1014a64755757777ddc0a58b2d409590efe42e.tar
dexon-sol-tools-6e1014a64755757777ddc0a58b2d409590efe42e.tar.gz
dexon-sol-tools-6e1014a64755757777ddc0a58b2d409590efe42e.tar.bz2
dexon-sol-tools-6e1014a64755757777ddc0a58b2d409590efe42e.tar.lz
dexon-sol-tools-6e1014a64755757777ddc0a58b2d409590efe42e.tar.xz
dexon-sol-tools-6e1014a64755757777ddc0a58b2d409590efe42e.tar.zst
dexon-sol-tools-6e1014a64755757777ddc0a58b2d409590efe42e.zip
remove unnecessary children in Interface
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Tabs.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Tabs.tsx7
1 files changed, 1 insertions, 6 deletions
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>;