import { Localized } from "fluent-react/compat"; import * as React from "react"; import { StatelessComponent } from "react"; import { Tab, TabBar } from "talk-ui/components"; type TabValue = "COMMENTS" | "PROFILE" | "%future added value"; export interface Props { activeTab: TabValue; onTabClick: (tab: TabValue) => void; commentCount: number; showProfileTab: boolean; } const AppTabBar: StatelessComponent = props => { return ( {"{$commentCount} Comments"} {props.showProfileTab && ( My Profile )} ); }; export default AppTabBar;