Closed caiolopes closed 3 years ago
It allows to give a color for all words, or an array of colors. If the array of colors is smaller than the word cloud size, the default color will be given to the rest. If none are given, it will be the default behavior.
Great feature! Would you please update README and add some tests?
README
If you find it difficult to test the color, try snap-shot in jest. Example
jest
It allows to give a color for all words, or an array of colors. If the array of colors is smaller than the word cloud size, the default color will be given to the rest. If none are given, it will be the default behavior.