Skip to content

Commit

Permalink
updated cloud propsnames, fixes #30
Browse files Browse the repository at this point in the history
  • Loading branch information
madox2 committed Aug 18, 2022
1 parent 5ea909e commit 5d425ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TagCloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope

var handlersPropNames = ['onClick', 'onDoubleClick', 'onMouseMove', 'onMouseOver', 'onMouseOut', // rn handlers
'onPress', 'onPressIn', 'onPressOut'];
var cloudPropNames = ['tags', 'shuffle', 'renderer', 'maxSize', 'minSize', 'colorOptions', 'disableRandomColor', 'randomSeed', 'randomNumberGenerator'];
var cloudPropNames = ['tags', 'shuffle', 'renderer', 'maxSize', 'minSize', 'colorOptions', 'disableRandomColor', 'randomSeed', 'randomNumberGenerator', 'containerComponent'];

function getTagHashCode(tag) {
return tag.key + tag.value + tag.count;
Expand Down
1 change: 1 addition & 0 deletions src/TagCloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const cloudPropNames = [
'disableRandomColor',
'randomSeed',
'randomNumberGenerator',
'containerComponent',
]

function getTagHashCode(tag) {
Expand Down

0 comments on commit 5d425ce

Please sign in to comment.