From 19b1a7882c0f29697a588400fa117edcf9f0de96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Curcio?= Date: Wed, 12 Sep 2018 08:53:22 -0300 Subject: [PATCH] Changes --- src/core/client/ui/components/Tabs/Tab.tsx | 10 +++++----- src/core/client/ui/components/Tabs/TabBar.tsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/client/ui/components/Tabs/Tab.tsx b/src/core/client/ui/components/Tabs/Tab.tsx index 87b4ba236..a0b23c0aa 100644 --- a/src/core/client/ui/components/Tabs/Tab.tsx +++ b/src/core/client/ui/components/Tabs/Tab.tsx @@ -1,9 +1,9 @@ import cn from "classnames"; -import React, { StatelessComponent } from "react"; +import React from "react"; import { withStyles } from "talk-ui/hocs"; import * as styles from "./Tab.css"; -export interface TabBarProps { +export interface TabProps { /** * Convenient prop to override the root styling. */ @@ -30,7 +30,7 @@ export interface TabBarProps { onTabClick?: (tabId: string) => void; } -class TabBar extends React.Component { +class Tab extends React.Component { public handleTabClick = () => { if (this.props.onTabClick) { this.props.onTabClick(this.props.tabId); @@ -53,7 +53,7 @@ class TabBar extends React.Component { return (