🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

triz-react-native-wordcloud

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

triz-react-native-wordcloud

React Native View for Word cloud

1.0.21
latest
npm
Version published
Weekly downloads
25
316.67%
Maintainers
1
Weekly downloads
 
Created
Source

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 must have title and point
    point should be integer type(0 ~ N)

  • colorList (Requried)
    Each color value corresponds to point of word object.

  • 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.

Keywords

word

FAQs

Package last updated on 15 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts