import { Home } from '../home'; import { UpComing } from '../up-coming'; import { MySpaces } from '../my-spaces'; import { ExploreSpaces } from '../explore-spaces'; export const TabsView: React.FC = ({ activeTab }) => { if (activeTab === 0) { return ; } else if (activeTab === 1) { return ; } else if (activeTab === 2) { return ; } else if (activeTab === 3) { return ; } else { return null; } }; interface TabViewProps { activeTab: number; }