"use client"; import * as React from "react"; import { ArrowCounterClockwiseIcon } from "@phosphor-icons/react"; import { PrimitiveArrowIcon } from "../primitives"; import { PanelIconButton, stopPanelHeaderButtonPointerDown, } from "./panel-icon-button"; type PanelHeaderProps = { collapsed: boolean; collapseLabel?: string; expandLabel?: string; onResetControls?: () => void; onToggleCollapsed: () => void; title: string; }; export function PanelHeader({ collapsed, collapseLabel = "Collapse controls", expandLabel = "Expand controls", onResetControls, onToggleCollapsed, title, }: PanelHeaderProps): React.JSX.Element { return (
{title}