| 1 | import type { ReactNode } from "react" |
| 2 | |
| 3 | interface SectionHeaderProps { |
| 4 | title: ReactNode |
| 5 | action?: ReactNode |
| 6 | className?: string |
| 7 | } |
| 8 | |
| 9 | // 统一的区块标题行:左标题、右可选操作。替换 Home/History 中重复的 flex 标题行 |
| 10 | export default function SectionHeader({ title, action, className = "" }: SectionHeaderProps) { |
nothing calls this directly
no outgoing calls
no test coverage detected