chadly / react-bs-notifier

A react component to show growl-like notifications using bootstrap alerts
https://chadly.github.io/react-bs-notifier/
MIT License
111 stars 26 forks source link

onDismiss for alert-list vs. alert #19

Open zeroasterisk opened 8 years ago

zeroasterisk commented 8 years ago

When passing in alerts to AlertList if they have onDismiss on them, it seems like those should be triggered

moodysalem commented 7 years ago

looks like you are supposed to give onDismiss to AlertList and it gets called with the item: https://github.com/chadly/react-bs-notifier/blob/master/src/alert-list.jsx#L10

Ajlanclos commented 6 years ago

Can someone show an example of how onDismiss works with <Alert> @chadly