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

react-native-flip-card-view

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-flip-card-view - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

.npmignore

24

FlipCard.js

@@ -16,9 +16,13 @@ import React from "react";

var FlipCard = React.createClass({
getInitialState(){
return {
class FlipCard extends Component{
constructor(){
super();
this._flipToggleCard = this._flipToggleCard.bind(this);
this._flippedCard = this._flippedCard.bind(this);
this.flippedCardView = this.flippedCardView.bind(this);
this.state = {
animatedValue: new Animated.Value(0),
isFlipped: true,
}
},
};
};

@@ -29,7 +33,7 @@ componentDidUpdate(prevProp, prevState) {

}
},
};
_flipToggleCard() {
this.setState({isFlipped: !this.state.isFlipped});
},
};

@@ -43,3 +47,3 @@ _flippedCard() {

}).start();
},
};

@@ -58,3 +62,3 @@ render() {

</TouchableOpacity>);
},
};

@@ -69,4 +73,4 @@

}
});
}
module.exports = FlipCard;

@@ -7,3 +7,3 @@ {

},
"version": "0.0.4",
"version": "0.0.5",
"description": "An animated flip card component for React Native",

@@ -10,0 +10,0 @@ "main": "index.js",

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