void;
+ className?: string;
+ /** Optional width/centering wrapper around the tab row (prompt page uses max-w-7xl). */
+ contentClassName?: string;
+}) {
+ if (sections.length === 0) return null;
+
+ const list = (
+
+ {sections.map((section) => {
+ const active = activeSectionId === section.id;
+
+ return (
+
+ );
+ })}
+
+ );
+
+ return (
+
+ );
+}
diff --git a/frontend/src/components/workflow/panels/PanelAnchorNavigation.tsx b/frontend/src/components/workflow/panels/PanelAnchorNavigation.tsx
index 0294dd0..c3922fa 100644
--- a/frontend/src/components/workflow/panels/PanelAnchorNavigation.tsx
+++ b/frontend/src/components/workflow/panels/PanelAnchorNavigation.tsx
@@ -3,6 +3,8 @@
import type { ReactNode } from "react";
import { useEffect, useRef, useState } from "react";
+import { SectionAnchorTabs } from "@/components/editor/section-anchor-tabs";
+
export type PanelAnchorSection = {
id: string;
label: string;
@@ -128,33 +130,13 @@ export function PanelAnchorNavigation({
return (
{sections.length > 1 && (
-
+
)}