Here you go:
(transient-define-prefix demo () [(:info "boring" :face shadow) (:info (lambda () (format "Major-mode: %s" major-mode))) ("x" transient-echo-arguments)]) (keymap-global-set "" #'demo)
You are welcome!
I am happy to announce the release of Transient version 0.5.0.
More information can be found in a blog post.
Please consider supporting my work on Magit, Transient and many other Emacs packages and projects.
Here you go: