From 38b7f05cc527beb891778f7cce5720fdda078940 Mon Sep 17 00:00:00 2001 From: Grant Nestor Date: Mon, 23 May 2016 18:27:32 -0700 Subject: [PATCH] Upgrade to react-native@0.26 --- index.js | 17 ++++++++--------- package.json | 3 ++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/index.js b/index.js index 38c95fe..8b4ff3e 100644 --- a/index.js +++ b/index.js @@ -1,8 +1,7 @@ -import React, { +import React, {Component, PropTypes} from 'react' +import { Animated, - Component, InteractionManager, - PropTypes, StatusBar, StyleSheet, Text, @@ -11,12 +10,6 @@ import React, { View } from 'react-native' -let STATUS_BAR_HEIGHT = 20 -const PULSE_DURATION = 1000 -const SLIDE_DURATION = 300 -const ACTIVE_OPACITY = 0.6 -const SATURATION = 0.9 - class StatusBarAlert extends Component { constructor(props) { @@ -160,6 +153,12 @@ class StatusBarAlert extends Component { } +let STATUS_BAR_HEIGHT = 20 +const PULSE_DURATION = 1000 +const SLIDE_DURATION = 300 +const ACTIVE_OPACITY = 0.6 +const SATURATION = 0.9 + const styles = { view: { height: STATUS_BAR_HEIGHT * 2, diff --git a/package.json b/package.json index ef0b81e..4639e7f 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ }, "homepage": "https://github.com/gnestor/react-native-statusbar-alert", "peerDependencies": { - "react-native": ">=0.18.0" + "react": "15.0.2", + "react-native": "^0.26" } }