diff --git a/src/index.js b/src/index.js index 3f45312..ab0d220 100644 --- a/src/index.js +++ b/src/index.js @@ -258,7 +258,7 @@ class PopoverTooltip extends React.PureComponent { const labelContainerStyle = this.props.labelContainerStyle; const borderStyle = labelContainerStyle && labelContainerStyle.backgroundColor - ? { borderTopColor: labelContainerStyle.backgroundColor } + ? this.props.setBelow ? { borderBottomColor: labelContainerStyle.backgroundColor } : { borderTopColor: labelContainerStyle.backgroundColor } : null; let triangleDown = null; let triangleUp = null;