I would like to style tooltip header according to event data in REACT. e.g.
When my event has status important I want my tooltip header be red.
That's my current code. As you can see I am able to style content (template) of tooltip according to event data but I'm not able to do that for header.
eventTooltipFeature= {{
header: { titleAlign : 'start' },
template: data => this.tooltipContent.bind(this, data)()
}}