Socket
Socket
Sign inDemoInstall

@lisbakke/react-native-pulse

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lisbakke/react-native-pulse

React Native Pulse Animation


Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 27 Nov 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc