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
⚛ Cross-platform React Native dialogs based on the Modal component.
8
8
@@ -71,14 +71,15 @@ import { Dialog } from 'react-native-simple-dialogs';
71
71
| onShow | Function | null | Callback that's called once the modal has been shown |
72
72
| onOrientationChange | Function | null | Callback that's called when the orientation change while the modal is being displayed on iOS |
73
73
| supportedOrientations | Array of Enum('portrait', 'portrait-upside-down', 'landscape', 'landscape-left', 'landscape-right') | 'portrait' | Allowed orientation while modals is being shown. More info at [react-native docs](https://facebook.github.io/react-native/docs/modal#supportedorientations)|
74
+
| statusBarTranslucent | Boolean | null | Determines whether your modal should go under the system statusbar. More info at [react-native docs](https://facebook.github.io/react-native/docs/modal#statusbartranslucent-android)|
74
75
| onTouchOutside | Function | null | Callbac that's called when users tap outside the shown modal |
75
76
| title | String | null | Modal's title |
76
77
| titleStyle |[Text StyleSheet](https://facebook.github.io/react-native/docs/text-style-props)| null | Custom text style object for modal's title |
| keyboardDismissMode | Enum('none', 'on-drag', 'interactive') | null |[Determines whether the keyboard gets dismissed in response to a drag.](https://facebook.github.io/react-native/docs/scrollview#keyboarddismissmode)|
83
84
| keyboardShouldPersistTaps | Enum('always', 'never', 'handled', false, true) | null |[Determines when the keyboard should stay visible after a tap.](https://facebook.github.io/react-native/docs/scrollview#keyboardshouldpersisttaps)|
84
85
@@ -155,10 +156,10 @@ import { ProgressDialog } from 'react-native-simple-dialogs';
| ...{Dialog.props} | Dialog Props | null | Same props as Dialog Component |
158
-
| message | String |**REQUIRED**| Message shown in the progress dialog |
159
+
| message | String |null | Message shown in the progress dialog |
159
160
| messageStyle |[Text StyleSheet](https://facebook.github.io/react-native/docs/text-style-props)| null | Custom text style for message |
160
-
| activityIndicatorColor | color |'gray'| The foreground color of the spinner |
161
-
| activityIndicatorSize | enum('small', 'large'), number |'small'| Size of the indicator. Number only supported on Android |
161
+
| activityIndicatorColor | color |null | The foreground color of the spinner |
162
+
| activityIndicatorSize | enum('small', 'large'), number |null | Size of the indicator. Number only supported on Android |
162
163
| activityIndicatorStyle |[View StyleSheet](https://facebook.github.io/react-native/docs/view-style-props)| null | Custom style for the activity indicator |
163
164
164
165
More info on the [sample project](https://github.com/douglasjunior/react-native-simple-dialogs/blob/master/Sample/src/App.js).
@@ -174,12 +175,12 @@ New features, bug fixes and improvements are welcome! For questions and suggesti
174
175
175
176
[](https://star-history.com/#douglasjunior/react-native-simple-dialogs)
176
177
177
-
## Licence
178
+
## License
178
179
179
180
```
180
181
The MIT License (MIT)
181
182
182
183
Copyright (c) 2017 Douglas Nassif Roma Junior
183
184
```
184
185
185
-
See the full [licence file](https://github.com/douglasjunior/react-native-simple-dialogs/blob/master/LICENSE).
186
+
See the full [license file](https://github.com/douglasjunior/react-native-simple-dialogs/blob/master/LICENSE).
0 commit comments