MCPcopy Create free account
hub / github.com/TryHarder-L/NiniMenu / SectionHeaderProps

Interface SectionHeaderProps

frontend/src/components/SectionHeader.tsx:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected