import { Box } from '@mui/material'; import { ReactElement, useMemo } from 'react'; const TabContent = ({ changingTabId, children, tabId, }: TabContentProps): ReactElement => { const isTabIdMatch = useMemo( () => changingTabId === tabId, [changingTabId, tabId], ); const displayValue = useMemo( () => (isTabIdMatch ? 'initial' : 'none'), [isTabIdMatch], ); return {children}; }; export default TabContent;