Files
rose-ash/sx/sxc/examples/delete-demo.sx
giles a7da235459 SXC content: docs/examples/home/reference pages + SX testing runner
New sxc/ content tree with 120 page files across docs, examples, home,
and reference demos. sx/sx/testing/ adds page-runner.sx (317L) and
index-runner.sx (394L) — SX-native test runner pages for
browser-based evaluation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 09:08:47 +00:00

18 lines
497 B
Plaintext

(defcomp
(&key items)
(div
(table
(~tw :tokens "w-full text-left text-sm")
(thead
(tr
(~tw :tokens "border-b border-stone-200")
(th (~tw :tokens "px-3 py-2 font-medium text-stone-600") "Item")
(th (~tw :tokens "px-3 py-2 font-medium text-stone-600 w-20") "")))
(tbody
:id "delete-rows"
(map
(fn
(item)
(~examples/delete-row :id (nth item 0) :name (nth item 1)))
items)))))