File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,9 @@ Online examples: [http://react-component.github.io/tooltip/examples/](http://rea
111
111
</tr>
112
112
<tr>
113
113
<td>transitionName</td>
114
- <td>String</td>
114
+ <td>String|Object </td>
115
115
<td></td>
116
- <td>same as https://github.com/react-component/css-transition-group </td>
116
+ <td>same as https://github.com/react-component/animate </td>
117
117
</tr>
118
118
<tr>
119
119
<td>onVisibleChange</td>
Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ class Tooltip extends Component {
10
10
defaultVisible : PropTypes . bool ,
11
11
visible : PropTypes . bool ,
12
12
placement : PropTypes . string ,
13
- transitionName : PropTypes . string ,
13
+ transitionName : PropTypes . oneOfType ( [
14
+ PropTypes . string ,
15
+ PropTypes . object ,
16
+ ] ) ,
14
17
animation : PropTypes . any ,
15
18
onVisibleChange : PropTypes . func ,
16
19
afterVisibleChange : PropTypes . func ,
You can’t perform that action at this time.
0 commit comments