react-d3-cloud
react-d3-cloud copied to clipboard
improve: allow adding class names to words
This PR adds new prop wordClassNames, which allows to define custom class name(s) for each word separately.
I believe this can greatly improve the ability to customize word presentation at call-site. In our project we use it to add shadows and outline per-word (e. g. allows you to have a 'selected word' presented differently)