Skip to content

Commit c4dbdc9

Browse files
illiteratewriterTheSharpieOne
authored andcommitted
chore(docs): change Modal transition time for better understanding (reactstrap#1048)
increased the transition timings for better understanding of difference between modalTransition and backdropTransition Closes reactstrap#1016
1 parent cccd7af commit c4dbdc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/lib/examples/ModalCustomTimeout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ModalExample extends React.Component {
2323
return (
2424
<div>
2525
<Button color="danger" onClick={this.toggle}>{this.props.buttonLabel}</Button>
26-
<Modal isOpen={this.state.modal} modalTransition={{ timeout: 20 }} backdropTransition={{ timeout: 10 }}
26+
<Modal isOpen={this.state.modal} modalTransition={{ timeout: 700 }} backdropTransition={{ timeout: 1300 }}
2727
toggle={this.toggle} className={this.props.className}>
2828
<ModalHeader toggle={this.toggle}>Modal title</ModalHeader>
2929
<ModalBody>

0 commit comments

Comments
 (0)