Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-indicator

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-indicator

React Native Indicator Component

  • 0.4.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
333
decreased by-20.33%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-indicator

npm react-native VersionEye npm npm

A useful indicator component for React Native

Installation

Make sure that you are in your React Native project directory and run:

$ npm install react-native-indicator --save 

Android

It works, have fun!

iOS

Add ART.xcodeproj from node_modules/react-native/React/Libraries/ART to your Libraries then link libART.a. To see more details about Linking Libraries, jump to this.

Usage

Import react-native-indicator as a JavaScript module:

import {CirclesLoader, PulseLoader, TextLoader, DotsLoader, ...} from 'react-native-indicator';

Here is currently available types:

  • PulseLoader
  • DotsLoader
  • TextLoader
  • BubblesLoader
  • CirclesLoader
  • BreathingLoader
  • RippleLoader
  • LinesLoader
  • MusicBarLoader
  • EatBeanLoader
render(){
    return(
        <View>
            <CirclesLoader />
            <TextLoader text="Loading" />
        </View>
    ); 
}

Props

PulseLoader
proptypedefaultdescription
sizenumber10circle's size
colorstring'#1e90ff'the indicator's color
DotsLoader
proptypedefaultdescription
sizenumber10circle's size
colorstring'#1e90ff'the indicator's color
betweenSpacenumber5the distance between two dots
TextLoader
proptypedefaultisRequireddescription
textstringnoneyescontents
textStylestyleinheritednotext's style
BubblesLoader
proptypedefaultdescription
sizenumber40circle's size
colorstring'#1e90ff'the indicator's color
dotRadiusnumber10each dot's size
CirclesLoader
proptypedefaultdescription
sizenumber40circle's size
colorstring'#1e90ff'the indicator's color
dotRadiusnumber8each dot's size
BreathingLoader
proptypedefaultdescription
sizenumber10circle's size
colorstring'#1e90ff'the indicator's color
strokeWidthnumber3outline width
frequencynumber800scale's frequency
RippleLoader
proptypedefaultdescription
sizenumber10circle's size
colorstring'#1e90ff'the indicator's color
strokeWidthnumber3outline width
LinesLoader
proptypedefaultdescription
colorstring'#1e90ff'the indicator's color
barWidthnumber5each bar's width
barHeightnumber40each bar's height
barNumbernumber5the number of bar
betweenSpacenumber2the distance between two bars
MusicBarLoader
proptypedefaultdescription
colorstring'#1e90ff'the indicator's color
barWidthnumber3each bar's width
barHeightnumber30each bar's height
betweenSpacenumber5the distance between two bars
EatBeanLoader
proptypedefaultdescription
colorstring'#1e90ff'the indicator's color
sizenumber30the indicator's size

License

MIT

Keywords

FAQs

Package last updated on 12 Dec 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc