import type { ReactNode } from 'react'; import { Card } from 'antd'; import { Help, InternalTag } from './fields'; // 开单页分区卡片:编号(沿用旧界面 01 02… 的样式)、标题、可选说明与右侧操作;内部分区用金色左边框与暖色底。 export function Section({ step, title, help, extra, internal, className, testId, children, }: { step: string; title: ReactNode; help?: ReactNode; extra?: ReactNode; internal?: boolean; className?: string; testId?: string; children: ReactNode; }) { return (

{title}

{help ? {help} : null} {internal ? : null} } extra={extra} > {children}
); }