"use client"; import { useState } from "react"; import { cn } from "@/lib/utils"; import { SettingsCard, SettingsSection, } from "@/components/settings/settings-parts"; import { SigningPanel } from "@/components/settings/settings-billing"; import { CareTeamPanel } from "@/components/settings/settings-care-team"; import { ProfilePanel } from "@/components/settings/settings-preferences"; const TABS = [ "Profile", "Records", "Signing", "Care team", "Developers", ] as const; type Tab = (typeof TABS)[number]; function PlaceholderPanel({ title, description, }: { title: string; description: string; }) { return (

Nothing here yet.

); } export function SettingsView() { const [tab, setTab] = useState("Profile"); return (

{tab}

{tab === "Profile" && } {tab === "Records" && ( )} {tab === "Signing" && } {tab === "Care team" && } {tab === "Developers" && ( )}
); }