import React from 'react'; import { TabContent, TabPane, } from 'reactstrap'; import type { ICustomNavTabMappings } from '~/interfaces/ui'; import { LazyRenderer } from '../Common/LazyRenderer'; type Props = { activeTab: string, navTabMapping: ICustomNavTabMappings, additionalClassNames?: string[], } const CustomTabContent = (props: Props): JSX.Element => { const { activeTab, navTabMapping, additionalClassNames } = props; return ( {Object.entries(navTabMapping).map(([key, value]) => { const { Content } = value; return ( ); })} ); }; export default CustomTabContent;