(defcomp
  ()
  (~examples/page-content
    :title "Inline Edit"
    :description "Click edit to swap a display view for an edit form. Save swaps back."
    :demo-description "Click edit, modify the text, save or cancel."
    :demo (~examples/inline-edit-demo)
    :sx-code ";; View mode — shows text + edit button\n(~examples/inline-view :value \"some text\")\n\n;; Edit mode — returned by server on click\n(~examples/inline-edit-form :value \"some text\")"
    :handler-names (list "ex-edit-form" "ex-edit-save")
    :comp-placeholder-id "edit-comp"
    :comp-heading "Components"
    :handler-heading "Server handlers"
    :wire-placeholder-id "edit-wire"))
