File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 22[ ![ Codelab] ( http://www.codelabsys.com/images/logo.png )] ( http://www.codelabsys.com/ )
33
44Create responsive modals easily by auto injecting it to the app root.
5- ##Dependencies
5+ ## Dependencies
66* [ react-native-modalbox] ( https://github.com/maxs15/react-native-modalbox )
77* [ react-native-root-siblings] ( https://github.com/magicismight/react-native-root-siblings )
88
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+
1113```
1214npm install --save react-native-responsive-app-modal
1315```
1416
1517## Properties
1618
1719| Prop | Type | Description |
18- | :------------ | :---------------: | :---------------:| :-----|
20+ | :------------ | :---------------:| :-----|
1921| 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)|
2123| verticalMargin| ` number ` | Define spacing between the modal and the screen edges |
2224| horizontalMargin| ` number ` | Define spacing between the modal and the screen edges |
2325| 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