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 (