schiehll / react-alert

alerts for React
MIT License
607 stars 98 forks source link

Expose method to remove a specific alert #32

Closed anthonyraymond closed 7 years ago

anthonyraymond commented 7 years ago

In some case (when alert timeout is 0) it may be usefull to be able to remove a particular alert when an event occurs.

These changes allow to do so.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 944bfeeb423a504a2f3ea1bd02a0690689117cf7 on anthonyraymond:patch-1 into 5b93482193269968e43241b6fb53173ec9c91e30 on schiehll:master.

anthonyraymond commented 7 years ago

@schiehll any new ont this?

schiehll commented 7 years ago

Sorry about the delay @anthonyraymond , I was really busy.

The code looks good. Thank you. I will be releasing a new version with it later today.

anthonyraymond commented 7 years ago

Np problem ;)

Thanks for the merge.