(defcomp
  ()
  (~examples/page-content
    :title "Delete Row"
    :description "sx-delete with sx-swap \"outerHTML\" and an empty response removes the row from the DOM."
    :demo-description "Click delete to remove a row. Uses sx-confirm for confirmation."
    :demo (~examples/delete-demo
      :items (list
        (list "1" "Implement dark mode")
        (list "2" "Fix login bug")
        (list "3" "Write documentation")
        (list "4" "Deploy to production")
        (list "5" "Add unit tests")))
    :sx-code "(button\n  :sx-delete \"/sx/(geography.(hypermedia.(example.(api.(delete.1)))))\"\n  :sx-target \"#row-1\"\n  :sx-swap \"outerHTML\"\n  :sx-confirm \"Delete this item?\"\n  \"delete\")"
    :handler-names (list "ex-delete")
    :comp-placeholder-id "delete-comp"
    :wire-placeholder-id "delete-wire"
    :wire-note "Empty body — outerHTML swap replaces the target element with nothing."))
