Skip to content

Commit 41faaff

Browse files
author
Jason Axelson
committed
Filter transitionSpeed as well
This fixes the following error: Warning: Unknown prop `transitionSpeed` on <div> tag. Remove this prop from the element
1 parent 918c7c9 commit 41faaff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/simple-modal.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ function _filteredProps(props) {
9494
'containerClassName',
9595
'closeOnOuterClick',
9696
'show',
97-
'onClose'
97+
'onClose',
98+
'transitionSpeed'
9899
].map( p => {
99100
delete filtered[p]
100101
})

0 commit comments

Comments
 (0)