Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

This is a custom component for React Native, a simple popup, compatible with ios and android.

###Demo
### Demo
![ui](./doc/ui.gif)

###Props
### Props
- <b>isOverlay</b> *bool* - *`default true`*
- <b>isOverlayClickClose</b> *bool* - *`default true`*

###~~*`static`*~~ Methods
### ~~*`static`*~~ Methods
- <b>alert</b>(<b>`message`</b>: *string*|*number*, [...])
```javascript
e.g.
Expand Down Expand Up @@ -86,14 +86,14 @@ This is a custom component for React Native, a simple popup, compatible with ios
});
```

###Usage
####Step 1 - install
### Usage
#### Step 1 - install

```
npm install react-native-popup --save
```

####Step 2 - import and use in project
#### Step 2 - import and use in project

```javascript
import Popup from 'react-native-popup';
Expand Down