forge42dev / remix-toast

Server side implementation of toast notifications in Remix
MIT License
190 stars 11 forks source link

feat: add optional duration to toast messages #28

Closed anthonyhagi closed 1 month ago

anthonyhagi commented 1 month ago

Description

Being able to specify a custom duration for messages that are longer vs shorter helps ensure the toast is shown for as long as it needs to be.

Implements #27

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

AlemTuzlak commented 1 month ago

Thank you @anthonyhagi