"use client" import * as React from "react" import { cn } from "../../lib/utils" export interface ListPageTreeColumnHeaderProps { title: string /** Right side (e.g. icon buttons) — keep touch targets ≥ 24px */ trailing?: React.ReactNode className?: string } /** * Shared Miller / tree column header — pins under the hub views strip while * `[data-page-scroll]` owns vertical scroll (same job as DataTable thead). * * Requires split `ResizablePanelGroup` / `ResizablePanel` to use * `LIST_PAGE_SPLIT_RESIZABLE_GROUP_STYLE` + `LIST_PAGE_SPLIT_RESIZABLE_PANEL_STYLE` * so library `overflow` defaults do not trap sticky. */ export function ListPageTreeColumnHeader({ title, trailing, className, }: ListPageTreeColumnHeaderProps) { return (

{title}

{trailing ? (
{trailing}
) : null}
) }