Consistent tooltips between different components #2237
Replies: 1 comment
-
Hey @saskliutas, sorry we seem to have missed this. The short answer is: Yes, you should use The Hopefully that clarifies things. Feel free to ask any follow-up questions. :) See also: #2182 |
Beta Was this translation helpful? Give feedback.
-
Hi, I was wondering what is the best approach to have consistent tooltips when mixing different components. We have tree component that has some buttons above in the header. There are some
IconButton
s and someButton
s. ForIconButton
we pass label and get stylized tooltip. ForButton
we usetitle
and get native browser tooltip. Also for tree nodeCheckbox
we usetitle
property and get native tooltip. I made a small example of this. You can take a look how different tooltips pop up when navigating through elements with TAB: https://stackblitz.com/edit/github-2d7cav?file=src%2FApp.tsxDo I need to add
Tooltip
to the components instead of usingtitle
property?Beta Was this translation helpful? Give feedback.
All reactions