import { useState } from 'react' import FloatingElement from './FloatingElement' import OpenOrdersTable from './OpenOrdersTable' import BalancesTable from './BalancesTable' import FeeDiscountsTable from './FeeDiscountsTable' import TradeHistoryTable from './TradeHistoryTable' const TABS = ['Open Orders', 'Balances', 'Fee Discounts', 'Trade History'] const UserInfoTabs = ({ activeTab, setActiveTab }) => { const handleTabChange = (tabName) => { setActiveTab(tabName) } return (
) } const TabContent = ({ activeTab }) => { switch (activeTab) { case 'Orders': return case 'Balances': return case 'Fee Discounts': return case 'Trade History': return default: return } } const UserInfo = () => { const [activeTab, setActiveTab] = useState(TABS[0]) return ( ) } export default UserInfo