reflex/reflex/components/sonner
Masen Furer bbfbc82c9d
Handle Var passed to rx.toast (#4405)
* Handle Var passed to `rx.toast`

If the user provides a `Var` for `message` then apply it as `props["title"]` to
avoid a var operations error.

* remove unnecessary parentheses

* remove weird hacks

* get it right pyright

---------

Co-authored-by: Khaleel Al-Adhami <khaleel.aladhami@gmail.com>
2024-11-21 16:15:01 -08:00
..
__init__.py add toast component (#3186) 2024-05-03 12:09:11 -07:00
toast.py Handle Var passed to rx.toast (#4405) 2024-11-21 16:15:01 -08:00
toast.pyi Handle Var passed to rx.toast (#4405) 2024-11-21 16:15:01 -08:00