Skip to content

Adds duration to modals#50

Open
Jaywaa wants to merge 20 commits into
yuanyan:masterfrom
Jaywaa:modal-duration
Open

Adds duration to modals#50
Jaywaa wants to merge 20 commits into
yuanyan:masterfrom
Jaywaa:modal-duration

Conversation

@Jaywaa
Copy link
Copy Markdown

@Jaywaa Jaywaa commented Apr 23, 2018

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} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants