Socket
Book a DemoInstallSign in
Socket

@lisbakke/react-native-pulse

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lisbakke/react-native-pulse

React Native Pulse Animation

1.0.10
latest
Source
npmnpm
Version published
Weekly downloads
4
100%
Maintainers
1
Weekly downloads
 
Created
Source

React Native Pulse Animation

react native pulse

Installation

  npm install react-native-pulse --save

Usage

const Pulse = require('react-native-pulse');
  
class helloWorld extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Pulse color='orange' numPulses={3} diameter={400} speed={20} duration={2000} />
      </View>
    );
  }  
}

Props

Component accepts several self-descriptive properties:

  • color (String) - Backgroundcolor for pulse. React-native colors supported. Default color is blue.
  • numPulses (Number) - This is the number of pulses that will be rendered. Defaults to 3.
  • diameter (Number) - This is the maximum diameter that a pulse will be. Defaults to 400.
  • style (object) - Style properties for pulse container positioning eg.
  • image (object) - Image for center pulse thumbnail.
  • speed (Number) - Speed in milliseconds pulse will redraw. Defaults to 10.
  • duration (Number) - Duration in milliseconds this is the delay new pulses will be created. Defaults to 1000.

Keywords

react

FAQs

Package last updated on 27 Nov 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.