Skip to content

Commit 71251bb

Browse files
author
Daniil Merkulov
committed
fix: fix conflicts with upstream/master
2 parents 836445e + 8a2686c commit 71251bb

File tree

9 files changed

+4684
-4171
lines changed

9 files changed

+4684
-4171
lines changed

.all-contributorsrc

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"files": [
3+
"README.md"
4+
],
5+
"imageSize": 100,
6+
"commit": false,
7+
"contributors": [
8+
{
9+
"login": "rodriigovieira",
10+
"name": "Rodrigo Vieira",
11+
"avatar_url": "https://avatars.githubusercontent.com/u/7014073?v=4",
12+
"profile": "https://github.com/rodriigovieira",
13+
"contributions": [
14+
"code",
15+
"bug",
16+
"doc",
17+
"maintenance"
18+
]
19+
},
20+
{
21+
"login": "lukebrandonfarrell",
22+
"name": "Luke Brandon Farrell",
23+
"avatar_url": "https://avatars.githubusercontent.com/u/18139277?v=4",
24+
"profile": "https://discord.gg/QqTN6HqNTG",
25+
"contributions": [
26+
"code",
27+
"bug",
28+
"doc"
29+
]
30+
},
31+
{
32+
"login": "CursedWizard",
33+
"name": "CyberFuntik",
34+
"avatar_url": "https://avatars.githubusercontent.com/u/67508707?v=4",
35+
"profile": "https://github.com/CursedWizard",
36+
"contributions": [
37+
"code",
38+
"doc"
39+
]
40+
}
41+
],
42+
"contributorsPerLine": 7,
43+
"projectName": "react-native-navigation-drawer-extension",
44+
"projectOwner": "aspect-apps",
45+
"repoType": "github",
46+
"repoHost": "https://github.com",
47+
"skipCi": true
48+
}

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ props will be passed to your custom drawer component.
102102
| drawerScreenWidth | number/string | Yes | 80% | Width of drawer on portrait orientation. Pass a string containing '%' (e.g. "80%") for setting the width in relation to the screen or a number for absolute width (e.g. 300) |
103103
| drawerScreenWidthOnLandscape | number/string | Yes | 30% | Width of drawer on landscape orientation. Pass a string containing '%' (e.g. "80%") for setting the width in relation to the screen or a number for absolute width (e.g. 300) |
104104
| drawerScreenHeight | number/string | Yes | 100% | Height of drawer. Pass a string containing '%' (e.g. "30%") for setting the height in relation to the screen or a number for absolute height (e.g. 300)
105+
| disableDragging | boolean | Yes | false | Whether you want to disable dragging of the drawer. Useful if you have ScrollView inside the drawer (addresses #62).|
106+
| disableSwiping | boolean | Yes | false | Whether you want to disable swiping gesture. Use it only in pair with disableDragging. |
105107

106108
## SideMenuView
107109

@@ -152,3 +154,29 @@ import { SideMenuView } from "react-native-navigation-drawer-extension";
152154
| sideMargin | number | Yes | 15 | The size of the gutter for both sides. |
153155
| sideMarginLeft | number | Yes | | The size of the gutter for the left side. |
154156
| sideMarginRight | number | Yes | | The size of the gutter for the right side. |
157+
158+
## Contributors ✨
159+
160+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
161+
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
162+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
163+
164+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
165+
166+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
167+
<!-- prettier-ignore-start -->
168+
<!-- markdownlint-disable -->
169+
<table>
170+
<tr>
171+
<td align="center"><a href="https://github.com/rodriigovieira"><img src="https://avatars.githubusercontent.com/u/7014073?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rodrigo Vieira</b></sub></a><br /><a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/commits?author=rodriigovieira" title="Code">💻</a> <a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/issues?q=author%3Arodriigovieira" title="Bug reports">🐛</a> <a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/commits?author=rodriigovieira" title="Documentation">📖</a> <a href="#maintenance-rodriigovieira" title="Maintenance">🚧</a></td>
172+
<td align="center"><a href="https://discord.gg/QqTN6HqNTG"><img src="https://avatars.githubusercontent.com/u/18139277?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Luke Brandon Farrell</b></sub></a><br /><a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/commits?author=lukebrandonfarrell" title="Code">💻</a> <a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/issues?q=author%3Alukebrandonfarrell" title="Bug reports">🐛</a> <a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/commits?author=lukebrandonfarrell" title="Documentation">📖</a></td>
173+
<td align="center"><a href="https://github.com/CursedWizard"><img src="https://avatars.githubusercontent.com/u/67508707?v=4?s=100" width="100px;" alt=""/><br /><sub><b>CyberFuntik</b></sub></a><br /><a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/commits?author=CursedWizard" title="Code">💻</a> <a href="https://github.com/aspect-apps/react-native-navigation-drawer-extension/commits?author=CursedWizard" title="Documentation">📖</a></td>
174+
</tr>
175+
</table>
176+
177+
<!-- markdownlint-restore -->
178+
<!-- prettier-ignore-end -->
179+
180+
<!-- ALL-CONTRIBUTORS-LIST:END -->
181+
182+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

lib/RNNDrawer.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ declare interface RNNDrawerOptions {
4949
* for setting the height in relation to the screen or a number for absolute height (e.g. 300)
5050
*/
5151
drawerScreenHeight?: number | string;
52+
disableDragging?: boolean;
53+
disableSwiping?: boolean;
5254
}
5355
export declare enum DirectionType {
5456
left = "left",

0 commit comments

Comments
 (0)