Skip to content

Toast documentation mentions ToastAction without a usable public import #7103

Description

@masenf

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions