paradigmxyz / rivet

Developer Wallet & DevTools for Anvil

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: Toast component

jxom opened this issue · comments

commented

The Request

Foundations for a Toast component in Rivet to display for info, error, etc messaging.

Notes

Can use a library like Sonner or React Hot Toast

Screenshot 2023-09-15 at 1 57 43 AM

Demo integration (Custom toast) using react-hot-toast.

commented

@b4s36t4 – looking good!!

Hey, I wanted to confirm we're going to implement custom toast component or should we just use components given by react-hot-toast?

commented

We can use react-hot-toast! We can customize the styling

Any design for component design? like figma?

@jxom friendly bump on the above question.

commented

No designs yet. Just make it look nice 👨‍🎨

Hey @b4s36t4, I'm picking up #59 and will use your toast component as part of it, for now will just put some placeholder in. Thanks!

Hey @mateusz-michalik just use toast from react hot toast, that should do the trick and work.

Will do, wasn't sure if you're still going to apply some styling, I'll follow up on this in #59 though