<commit_before>### react-native-dropdownalert

A dropdown alert that allows you to display bits of information to your user. Try 1 of 3 types or roll your own custom type (see props below). Tap the alert to close or provide a time interval to close automatically.

### Demo

![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/demo.gif)

### Usage

```javascript

import DropdownAlert from 'react-native-dropdownalert'
// ...
constructor(props) {
  super(props);
  this.showAlert = this.showAlert.bind(this)
}
render() {
  return (
    <View>
      <DropdownAlert ref={"dropdownalert"} />
      <TouchableHighlight onPress={this.showAlert}>
        <Text> {'Show Alert'} </Text>
      </TouchableHighlight>
    </View>
  )
}
showAlert() {
  this.refs.dropdownalert.alert('info', 'Info', 'Chicago Cubs won the World Series!')
}
// ...

```

### Types 

![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/info.png)
![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/warning.png)
![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/error.png)
![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/custom.png)

### Props

| Props name | Type | Description | Platform | Default
| ------------ | ------------- | ------------ |------------ |------------ |
| closeInterval | Number  | Dismiss alert at a certain interval | Both | 4000
| backgroundColor | String  | background color | Both | steelblue
| imageUri | String  | source uri for network image | Both | ''
| imageSrc | String  | source for local image | Both | ''
| textColor | String  | color for title and message | Both | white
| fontFamily | String  | font for title and messsage | Both | HelveticaNeue
| startDelta | Number  | where view animation starts | Both | -100
| endDelta | Number  | where view animation ends | Both | 0

Inspired by: https://github.com/cwRichardKim/RKDropdownAlert

### License<commit_msg>Minor link format change<commit_after>### react-native-dropdownalert

A dropdown alert that allows you to display bits of information to your user. Try 1 of 3 types or roll your own custom type (see props below). Tap the alert to close or provide a time interval to close automatically.

### Demo

![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/demo.gif)

### Usage

```javascript

import DropdownAlert from 'react-native-dropdownalert'
// ...
constructor(props) {
  super(props);
  this.showAlert = this.showAlert.bind(this)
}
render() {
  return (
    <View>
      <DropdownAlert ref={"dropdownalert"} />
      <TouchableHighlight onPress={this.showAlert}>
        <Text> {'Show Alert'} </Text>
      </TouchableHighlight>
    </View>
  )
}
showAlert() {
  this.refs.dropdownalert.alert('info', 'Info', 'Chicago Cubs won the World Series!')
}
// ...

```

### Types 

![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/info.png)
![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/warning.png)
![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/error.png)
![screenshot](https://raw.github.com/devBrian/react-native-dropdownalert/master/screenshots/custom.png)

### Props

| Props name | Type | Description | Platform | Default
| ------------ | ------------- | ------------ |------------ |------------ |
| closeInterval | Number  | Dismiss alert at a certain interval | Both | 4000
| backgroundColor | String  | background color | Both | steelblue
| imageUri | String  | source uri for network image | Both | ''
| imageSrc | String  | source for local image | Both | ''
| textColor | String  | color for title and message | Both | white
| fontFamily | String  | font for title and messsage | Both | HelveticaNeue
| startDelta | Number  | where view animation starts | Both | -100
| endDelta | Number  | where view animation ends | Both | 0

Inspired by: [RKDropdownAlert](https://github.com/cwRichardKim/RKDropdownAlert)

### License
{'fraction_non_alphanumeric': 0.15915627996164908, 'fraction_numerical': 0.004793863854266539, 'mean_word_length': 3.575657894736842, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5542238', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1215, 'n_words': 318}