(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)))))