File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ const Trigger = React.createClass({
38
38
popupClassName : PropTypes . string ,
39
39
popupPlacement : PropTypes . string ,
40
40
builtinPlacements : PropTypes . object ,
41
- popupTransitionName : PropTypes . string ,
41
+ popupTransitionName : PropTypes . oneOfType ( [
42
+ PropTypes . string ,
43
+ PropTypes . object ,
44
+ ] ) ,
42
45
popupAnimation : PropTypes . any ,
43
46
mouseEnterDelay : PropTypes . number ,
44
47
mouseLeaveDelay : PropTypes . number ,
@@ -53,7 +56,10 @@ const Trigger = React.createClass({
53
56
onPopupAlign : PropTypes . func ,
54
57
popupAlign : PropTypes . object ,
55
58
popupVisible : PropTypes . bool ,
56
- maskTransitionName : PropTypes . string ,
59
+ maskTransitionName : PropTypes . oneOfType ( [
60
+ PropTypes . string ,
61
+ PropTypes . object ,
62
+ ] ) ,
57
63
maskAnimation : PropTypes . string ,
58
64
} ,
59
65
You can’t perform that action at this time.
0 commit comments