You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple alert to notify users about new chat messages, something went wrong or everything is ok. It can be closed by tap, cancel button, automatically with `closeInterval`, pan responder up gesture or programmatically.
21
+
A simple alert to notify users about new chat messages, something went wrong or everything is ok. It can be closed by tap, cancel button, automatically with `closeInterval`, pan responder up gesture or programmatically (```this.dropDownAlertRef.closeAction()```).
22
22
23
23
### Support
24
24
@@ -29,9 +29,7 @@ A simple alert to notify users about new chat messages, something went wrong or
29
29
30
30
### Installation
31
31
32
-
```
33
-
npm i react-native-dropdownalert --save
34
-
```
32
+
```npm i react-native-dropdownalert --save```
35
33
36
34
### Demo
37
35
@@ -40,27 +38,28 @@ npm i react-native-dropdownalert --save
| ```defaultTextContainer``` | Object | Style for inner text container (holds title and message) | ```{ flex: 1, padding: 8 }```
66
67
| ```wrapperStyle``` | Object | styles for the view that wraps the container. For [React Native Web](https://github.com/necolas/react-native-web) support you might want to set this to `{ position: 'fixed' }` | ```null```
67
68
| ```containerStyle``` | Object | styles for container for custom type only | ```{ padding: 16, flexDirection: 'row', backgroundColor: '#202020' }```
@@ -71,6 +72,8 @@
71
72
72
73
### Image
73
74
75
+
image sources are overridden if payload parameter has source property. For example,```{ source: 'https://facebook.github.io/react-native/docs/assets/favicon.png' }```
76
+
74
77
| Name | Type | Description | Default |
75
78
| ---- | :---: | --- | --- |
76
79
| ```imageStyle``` | Object | styles for image for all types | ```{ padding: 8, width: 36, height: 36, alignSelf: 'center' }```
0 commit comments