From 53eefc1efc65c138c8692bb069ae64e5eae9942b Mon Sep 17 00:00:00 2001 From: Frankie Date: Wed, 6 Jul 2016 17:09:53 -0700 Subject: Add a postion option for tool tip --- ui/app/components/tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/app/components/tooltip.js') diff --git a/ui/app/components/tooltip.js b/ui/app/components/tooltip.js index 4eab8611e..fb67c717e 100644 --- a/ui/app/components/tooltip.js +++ b/ui/app/components/tooltip.js @@ -14,7 +14,7 @@ Tooltip.prototype.render = function () { const props = this.props return h(ReactTooltip, { - position: 'left', + position: props.position ? props.position : 'left', title: props.title, fixed: false, }, props.children) -- cgit v1.2.3