Skip to content

Commit 4bb7872

Browse files
authored
docs: Updated README.md
1 parent 6f633c6 commit 4bb7872

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
[![npm version](https://badge.fury.io/js/react-native-dialog.svg)](https://badge.fury.io/js/react-native-dialog)
44

5-
A pure JavaScript React-Native dialog that follows closely the UI of its native counterpart while expanding its features.
5+
A flexible pure JavaScript React-Native dialog that follows closely the native UI guidelines.
66

77
## Features
88

99
- Support for iOS and Android (JavaScript API)
1010
- A flexible declarative API
11-
- Follows closely the UI of a native dialog/alert
11+
- Follows closely the UI of native dialogs/alerts
1212
- Can be used both as an alert and as an input prompt
1313
- Can be injected with any component
14+
- Supports light/dark mode
1415

1516
## Demo
1617

@@ -228,7 +229,7 @@ return (
228229
229230
### How can I add a 'tap outside dialog' callback?
230231
231-
`react-native-dialog` uses [a thin abstraction on top of the React-Native's modal component](./src/Modal.js). Any properties you add to `Dialog.Container` are mapped through to the modal.
232+
`react-native-dialog` uses [a thin abstraction on top of the React-Native's modal component](./src/Modal.tsx). Any properties you add to `Dialog.Container` are mapped through to the modal.
232233
The modal has an `onBackdropPress` property that can be used to register clicks on the backdrop.
233234
234235
Below is an example of how you can close the dialog by tapping outside.

0 commit comments

Comments
 (0)