Пропустить навигацию
Some React devs assume you need to npm install a library to get tooltips. Not true!
0:00 / 0:23

Some React devs assume you need to npm install a library to get tooltips. Not true!

Ben Holmes

@BHolmesDev46 тыс. подписчиков

Открыть в X
939 отметок «Нравится»СкачатьОригинальный пост

98 116 просмотров

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

Комментарии

Комментарии из оригинального поста в X (Twitter)

Комментариев пока нет