1.0.21 • Published 5 years ago
triz-react-native-wordcloud v1.0.21
triz-react-native-wordcloud
WordCloud View for React Native
Introduction
Usage
To use this, import the WordCloud object:
import { WordCloud } from 'triz-react-native-wordcloud';Use WordCloud like this.
<WordCloud
wordList={
[
{ title: 'Item1', point: 1 },
{ title: 'Item2', point: 2 },
...
]
}
colorList={...}
minFontSize={...}
style={...}
/>Properties
wordList (Required)
The item of list musthavetitle andpointpointshould be integer type(0 ~ N)colorList (Requried)
Each color value corresponds topointofwordobject.minFontSize (Optional)
This will decide the minimum font size of each tag.
Default size is 12.style (Optional)
This style is for container.tagPaddingLeft, tagPaddingTop, tagPaddingRight, tagPaddingBottom (Optional)
Default value is 20.
1.0.21
5 years ago
1.0.19
5 years ago
1.0.20
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago