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>
18 lines
497 B
Plaintext
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)))))
|