Im trying to change the tooltip background color in react bootstrap tooltip.
from this post it can be changed in the css file. However I have a possible 40ish different colors to display.
I have been trying to do things this way:
<Tooltip id={this.props.name} style={{".tooltip_inner":{"background":backgroundColor}}}>{this.props.name}</Tooltip>
But it just doesn't work. I can't set the tooltip_inner in render and Im not sure how to access it dynamically. I've tried getElementsBy-Name but that doesn't work either.
Thank you for any help.