Skip to content

Commit

Permalink
Merge pull request #2 from gnestor/react-native-0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
gnestor committed May 24, 2016
2 parents 1c7a176 + 38b7f05 commit 4c1d0cf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
17 changes: 8 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React, {
import React, {Component, PropTypes} from 'react'
import {
Animated,
Component,
InteractionManager,
PropTypes,
StatusBar,
StyleSheet,
Text,
Expand All @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 4c1d0cf

Please sign in to comment.