Closed
Description
Is your feature request related to a problem? Please describe.
Previously, the way to change the tooltip opacity (from the 0.9 default value) was to set the CSS variable like so:
:root {
--rt-opacity: 1;
}
I believe the recent change in the way the styles are injected broke this.
Describe the solution you'd like
- Add a
opacity
tooltip prop to override the default value. - Add a check on the
style
prop andconsole.warn()
ifopacity
is set (only ifenv !== 'production'
), advising to use the prop instead (same as done withborder
).