Skip to content

Commit

Permalink
📝 Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Oct 21, 2020
1 parent 0bb12b7 commit 1721578
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ cd ios && pod install
<br/>

* **Note**: This library is written in swift. If you are having trouble building your app after installing this library, try adding an empty swift file.
1. Open up your `ios/project.xcworkspace` project
2. On the project navigator panel, right click on your project (or a folder/group) and select "New File..." option
3. In the popup/sheet, select swift click next
4. In the "Save As" popup/sheet, rename the file if you want to and click create
5. If Xcode asks you to create a "Objective-C Bridging Header", choose yes
1. Open up your `ios/project.xcworkspace` project
2. On the project navigator panel, right click on your project (or a folder/group) and select "New File..." option
3. In the popup/sheet, select swift click next
4. In the "Save As" popup/sheet, rename the file if you want to and click create
5. If Xcode asks you to create a "Objective-C Bridging Header", choose yes
- - -
<br/>

Expand Down Expand Up @@ -70,7 +70,7 @@ import { ModalView } from 'react-native-ios-modal';
#### 3.1.1 Props: Flags
| Name | Default | Description |
|-------------------------------------|---------|--------------------------------------------------------------|
| **presentViaMount** | false | If this prop is set to true, the modal will be presented or dismissed when the `ModalView` is mounted/unmounted. |
| **presentViaMount** | false | If this prop is set to true, the modal will be presented or dismissed when the `ModalView` is mounted/unmounted. **Note**: Currently buggy/wip. |
| **isModalBGBlurred** | true | Set whether or not the background is blurred. When true, `modalBGBlurEffectStyle` prop takes effect. |
| **enableSwipeGesture** | true | When the modal is using `pageSheet` or similar `modalPresentationStyle`, this prop controls whether or not the swipe gesture is enabled. |
| **hideNonVisibleModals** | false | When multiple modals are visible at the same time, the first few modals will be temporarily hidden (they will still be mounted) to improve performance when this prop is set to true. |
Expand Down

0 comments on commit 1721578

Please sign in to comment.