import { useTranslation } from 'react-i18next' const TabsText = ({ tabs, activeTab, onChange, className, }: { tabs: [string, number][] activeTab: string onChange: (tab: string) => void className?: string }) => { const { t } = useTranslation(['common', 'account', 'trade']) return (
{tabs.map((tab) => ( ))}
) } export default TabsText