File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 2
2
[ ![ Codelab] ( http://www.codelabsys.com/images/logo.png )] ( http://www.codelabsys.com/ )
3
3
4
4
Create responsive modals easily by auto injecting it to the app root.
5
- ##Dependencies
5
+ ## Dependencies
6
6
* [ react-native-modalbox] ( https://github.com/maxs15/react-native-modalbox )
7
7
* [ react-native-root-siblings] ( https://github.com/magicismight/react-native-root-siblings )
8
8
9
- ##Installation
10
- [ ![ NPM] ( https://nodei.co/npm/react-native-responsive-app-modal.png?downloads=true&downloadRank=true&stars=true )] ( https://nodei.co/npm/react-native-responsive-app-modal/ )
9
+ ## Installation
10
+
11
+ [ ![ NPM] ( https://nodei.co/npm/react-native-responsive-app-modal.png?downloads=true&downloadRank=true&stars=true )] ( https://nodei.co/npm/react-native-responsive-app-modal/ )
12
+
11
13
```
12
14
npm install --save react-native-responsive-app-modal
13
15
```
14
16
15
17
## Properties
16
18
17
19
| Prop | Type | Description |
18
- | :------------ | :---------------: | :---------------:| :-----|
20
+ | :------------ | :---------------:| :-----|
19
21
| screenHeight| ` number ` | Used for modal dimensions calculation (Note: users of react-native>=0.43 you don't have to send this property) |
20
- | screenWidth| ` number ` | Used for modal dimensions calculation (Note: users of react-native>=0.43 you don't have to send this property) |
22
+ | screenWidth| ` number ` | Used for modal dimensions calculation (Note: users of react-native>=0.43 you don't have to send this property)|
21
23
| verticalMargin| ` number ` | Define spacing between the modal and the screen edges |
22
24
| horizontalMargin| ` number ` | Define spacing between the modal and the screen edges |
23
25
| sizeMatching| ` string ` ('content' or 'screen') | define if the modal size should match the screen size or the size of its content |
You can’t perform that action at this time.
0 commit comments