#7103·reflex

Toast documentation mentions ToastAction without a usable public import

Author: masenfCreated Sep 11, 2026Updated Sep 11, 2026

docs/library/overlay/toast.md says "By passing a ToastAction to the action or cancel prop…", but rx.ToastAction does not exist, rx.toast.action does not exist, and only from reflex_components_sonner.toast import ToastAction works. The dict form action={"label": "do it", "on_click": State.handler} works and is what this app uses.

Source: prerelease finding 034-09, recorded against Reflex 0.9.11a1 and compared with 0.9.10.post2. See the full campaign report and cluster notes and reproduction artifacts. Findings and verification status above are from that campaign; this filing does not claim a new browser rerun.