boringdesigners / boring-avatars

Boring avatars is an open source React library that generates custom, SVG-based avatars from any username and color palette.
https://boringavatars.com
MIT License
5.65k stars 198 forks source link

Disable title #48

Closed electic closed 2 years ago

electic commented 2 years ago

I want to overlay my own tooltips onto the avatar. Is there a way to disable the titles?

unknownproperty commented 2 years ago

Hey! I have some issues like that. This helps me https://stackoverflow.com/a/53880019

electic commented 2 years ago

Hey! I have some issues like that. This helps me https://stackoverflow.com/a/53880019

Thanks! This helps, but it would be good if it were a prop.

lu-zen commented 2 years ago

+1

mwalkerr commented 2 years ago

Ideally title and hash would be two separate props instead of one "name" prop. I can create a PR for that if the maintainers are around to approve.

josepmartins commented 2 years ago

Thanks for the issue, it seems the title should be enabled with a prop, I'll be working on that very soon.

josepmartins commented 2 years ago

Added an optional title prop to allow disable/enable native browser tooltips. Set up disabled by default. Thanks for your feedback and suggestions 👍

https://github.com/boringdesigners/boring-avatars/pull/52