Skip to content

Commit ebc50be

Browse files
committed
2 parents 4628b5e + af7dd0d commit ebc50be

File tree

4 files changed

+6329
-15
lines changed

4 files changed

+6329
-15
lines changed

DropdownAlert.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component } from 'react'
2-
import {StyleSheet, View, Text, TouchableHighlight, Animated, StatusBar, Platform, Dimensions, Image, PanResponder} from "react-native"
2+
import {StyleSheet, View, Text, TouchableHighlight, Animated, StatusBar, Platform, Dimensions, Image, PanResponder, ViewPropTypes} from "react-native"
33
import PropTypes from 'prop-types';
44

55
const StatusBarDefaultBarStyle = StatusBar._defaultProps.barStyle.value
@@ -26,7 +26,7 @@ export default class DropdownAlert extends Component {
2626
closeInterval: PropTypes.number,
2727
startDelta: PropTypes.number,
2828
endDelta: PropTypes.number,
29-
containerStyle: View.propTypes.style,
29+
containerStyle: ViewPropTypes.style,
3030
titleStyle: Text.propTypes.style,
3131
messageStyle: Text.propTypes.style,
3232
imageStyle: Image.propTypes.style,

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
[![npm version](http://img.shields.io/npm/v/react-native-dropdownalert.svg)](https://www.npmjs.com/package/react-native-dropdownalert)
55
[![npm version](http://img.shields.io/npm/dm/react-native-dropdownalert.svg)](https://www.npmjs.com/package/react-native-dropdownalert)
66
[![Build Status](https://travis-ci.org/testshallpass/react-native-dropdownalert.svg?branch=master)](https://travis-ci.org/testshallpass/react-native-dropdownalert)
7-
[![Join the chat at https://gitter.im/react-native-dropdownalert/Lobby](https://badges.gitter.im/react-native-dropdownalert/Lobby.svg)](https://gitter.im/react-native-dropdownalert/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
87
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.github.com/testshallpass/react-native-dropdownalert/master/LICENSE)
98

10-
A simple alert to notify users about new chat messages, something went wrong or everything is ok. It can be dismissed by onPress, cancel onPress, automatically with `closeInterval` prop, pan responder up gesture or programmatically.
9+
A simple alert to notify users about new chat messages, something went wrong or everything is ok. It can be dismissed by onPress, cancel onPress, automatically with `closeInterval` prop, pan responder up gesture or programmatically.
10+
11+
### News
12+
> v2.13.0 supports ViewPropTypes introduced in react-native **0.44.0**. If you support an earlier react-native version, please use v2.12.0 or earlier.
1113
1214
### Installation
1315
```

0 commit comments

Comments
 (0)