import { Profile } from '../profile';
import { SubscriptionsPayments } from '../subscriptions-payments';
import { Spaces } from '../spaces';
import { Users } from '../users';
import { DomainsSecurity } from '../domains-security';
export const TabsView: React.FC<TabViewProps> = ({ activeTab }) => {
  if (activeTab === 0) {
    return <Profile />;
  } else if (activeTab === 1) {
    return <SubscriptionsPayments />;
  } else if (activeTab === 2) {
    return <Spaces />;
  } else if (activeTab === 3) {
    return <Users />;
  } else if (activeTab === 4) {
    return <DomainsSecurity />;
  } else {
    return null;
  }
};
interface TabViewProps {
  activeTab: number;
}
