We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be89b82 + 69dea07 commit 3ba4d7aCopy full SHA for 3ba4d7a
src/index.js
@@ -74,7 +74,8 @@ class ReactTooltip extends React.Component {
74
constructor (props) {
75
super(props)
76
this.state = {
77
- place: 'top', // Direction of tooltip
+ place: props.place || 'top', // Direction of tooltip
78
+ desiredPlace: props.place || 'top',
79
type: 'dark', // Color theme of tooltip
80
effect: 'float', // float or fixed
81
show: false,
0 commit comments