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

react-native-shimmer

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-shimmer - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

9

index.js

@@ -28,6 +28,11 @@ import React, {

render() {
return (<RNShimmeringView {...this.props} />);
const { direction, ...props } = this.props;
return (<RNShimmeringView shimmeringDirection={direction} {...props} />);
}
}
const RNShimmeringView = requireNativeComponent('RNShimmeringView', Shimmer);
const RNShimmeringView = requireNativeComponent('RNShimmeringView', Shimmer, {
nativeOnly: {
shimmeringDirection: true,
},
});
{
"name": "react-native-shimmer",
"version": "0.2.0",
"description": "Simple shimmering effect for any view in React Native",
"version": "0.2.1",
"description": "Simple shimmering effect in React Native",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

# react-native-shimmer
Simple shimmering effect for any view in React Native. Based on [Shimmer](https://github.com/facebook/Shimmer).
Simple shimmering effect in React Native. Based on [Shimmer](https://github.com/facebook/Shimmer).

@@ -9,7 +9,7 @@ ![Shimmer](https://github.com/facebook/Shimmer/blob/master/shimmer.gif?raw=true)

`$ npm install react-native-shimmer --save`
`$ yarn add react-native-shimmer`
### Option: With [`rnpm`](https://github.com/rnpm/rnpm)
### Option: With `react-native link`
`$ rnpm link`
`$ react-native link react-native-shimmer`

@@ -30,3 +30,3 @@ ### Option: Manually

NOTE: `Shimmer` may only have one child.
NOTE: `Shimmer` may only have one child and currently doesn't work with `View`.

@@ -57,2 +57,2 @@ ```js

[MIT License](http://opensource.org/licenses/mit-license.html). Shimmer is under BSD license. © Joel Arvidsson 2016
[MIT License](http://opensource.org/licenses/mit-license.html). Shimmer is under BSD license. © Joel Arvidsson 2016-now

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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