This commit is contained in:
lpf
2026-03-09 20:21:22 +08:00
parent 0b9192132f
commit 938e762c6b
22 changed files with 558 additions and 169 deletions

View File

@@ -59,7 +59,7 @@ const PrimitiveArrayEditor: React.FC<{
{value.map((item, idx) => (
<span key={`${item}-${idx}`} className="inline-flex items-center gap-1 px-2 py-1 rounded-xl ui-soft-panel text-xs font-mono text-zinc-700 dark:text-zinc-200">
{String(item)}
<button onClick={() => removeAt(idx)} className="text-zinc-400 hover:text-red-400">×</button>
<button onClick={() => removeAt(idx)} className="ui-text-danger-hover text-zinc-400">×</button>
</span>
))}
</div>