boron
boron copied to clipboard
Adds duration to modals
Adds prop duration
in milliseconds before a modal hides itself.
Value of undefined or -1 naturally does not trigger a hide()
<FadeModal ref="TaskComplete" duration={5000} />