react-native-flip-component
Advanced tools
Comparing version 1.0.3 to 1.0.4
import React, { Component } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { View, Animated, Easing, StyleSheet, Text, ViewPropTypes } from 'react-native'; | ||
import { View, Animated, Easing, Text, ViewPropTypes } from 'react-native'; | ||
@@ -26,3 +26,3 @@ class FlipComponent extends Component { | ||
rotateDuration: 300, | ||
containerStyles: { flex: 1 }, | ||
containerStyles: null, | ||
frontStyles: null, | ||
@@ -106,2 +106,3 @@ backStyles: null, | ||
]} | ||
pointerEvents={this.props.isFlipped ? 'none' : 'auto'} | ||
> | ||
@@ -123,2 +124,3 @@ {this.props.frontView} | ||
]} | ||
pointerEvents={this.props.isFlipped ? 'auto' : 'none'} | ||
> | ||
@@ -125,0 +127,0 @@ {this.props.backView} |
{ | ||
"name": "react-native-flip-component", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Double-sided React component that flips 180 degrees", | ||
@@ -5,0 +5,0 @@ "author": "Phil Mok", |
6991
123