schiehll / react-alert

alerts for React
MIT License
608 stars 98 forks source link

Forwarding ref when using withAlert #107

Closed felipedeboni closed 5 years ago

felipedeboni commented 5 years ago

This code allows withAlert to forward ref to the wrapped component.

schiehll commented 5 years ago

Yeah, I can see how it can be useful I guess. Thank you!