You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case you want to introduce slight style changes to the tooltip, you can import the default css and, after that, import your custom css with overridden rules for .react-hint:
If you want to completely change the look of tooltips, you can change the default class name of tooltips. This will require introducing new css rules for .custom-hint, you can base them on the default styles from react-hint/css/index.css:
In case you want to introduce new tooltips and use them together with old ones, you can define two ReactHint instances, one of them will be with a custom class. This will require using a custom data-attribute for custom tooltips to distinguish between them:
In case previous options don't work for you and you want to add a modifier to a single tooltip, you can install react-hint v1: npm i react-hint@1. It supports a class modifier attribute data-rh-cls:
Like if I want to change the background color of tooltip, what should I do?
The text was updated successfully, but these errors were encountered: