标记待开发功能范围

This commit is contained in:
hectorzhao
2026-07-01 09:44:10 +08:00
parent 47e603d7d3
commit 2675fafb28
9 changed files with 48 additions and 19 deletions
+3 -1
View File
@@ -5,6 +5,7 @@ export type TabItem = {
label: string;
value: string;
content: ReactNode;
pending?: boolean;
};
type TabsProps = {
@@ -36,7 +37,8 @@ export function Tabs({ items, defaultValue, value, onChange }: TabsProps) {
role="tab"
type="button"
>
{item.label}
<span>{item.label}</span>
{item.pending ? <span className="dev-status-badge"></span> : null}
</button>
))}
</div>