标记待开发功能范围
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user