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.
1 parent 467419c commit 1c9b66eCopy full SHA for 1c9b66e
src/components/tooltip/Tooltip.js
@@ -39,7 +39,9 @@ const Tooltip = props => {
39
};
40
41
Tooltip.defaultProps = {
42
- delay: {show: 0, hide: 50}
+ delay: {show: 0, hide: 50},
43
+ placement: 'auto',
44
+ flip: true
45
46
47
Tooltip.propTypes = {
@@ -105,6 +107,12 @@ Tooltip.propTypes = {
105
107
'left-end'
106
108
]),
109
110
+ /**
111
+ * Whether to flip the direction of the popover if too close to the container
112
+ * edge, default True.
113
+ */
114
+ flip: PropTypes.bool,
115
+
116
/**
117
* Control the delay of hide and show events.
118
*/
0 commit comments