trptk/components/account/AccountTabs.tsx
2026-02-24 17:14:07 +01:00

28 lines
613 B
TypeScript

"use client";
import { TabsClient, type TabDef } from "@/components/TabsClient";
import { OrdersTab } from "./OrdersTab";
import { DownloadsTab } from "./DownloadsTab";
import { ProfileTab } from "./ProfileTab";
export function AccountTabs() {
const tabs: TabDef[] = [
{
id: "downloads",
label: "Downloads",
content: <DownloadsTab />,
},
{
id: "orders",
label: "Orders",
content: <OrdersTab />,
},
{
id: "profile",
label: "Profile",
content: <ProfileTab />,
},
];
return <TabsClient defaultTabId="downloads" tabs={tabs} />;
}