Some React devs assume you need to npm install a library to get tooltips. Not true!
Ben Holmes
X profili@BHolmesDev46 B takipçi
98.116 görüntüleme
Some React devs assume you need to npm install a library to get tooltips. Not true!
For icon buttons, use a combo of the `title` attribute and screenreader text with Tailwind CSS' sr-only class. Gives you a native tooltip for the label while improving a11y
Yorumlar
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır
Henüz yorum yok
