You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| snapPoints | yes || E.g. `[300, 200, 0]`. Points for snapping of bottom sheet coomponent. They define distance from bottom of the screen. Might be number or percent (as string e.g. `'20%'`) for points or percents of screen height from bottom. |
62
62
| initialSnap | no | 0 | Determines initial snap point of bottom sheet. The value is the index from snapPoints. |
63
63
| renderContent | no || Method for rendering scrollable content of bottom sheet. |
64
64
| renderHeader | no || Method for rendering non-scrollable header of bottom sheet. |
65
-
| enabledGestureInteraction | no |`true`| Defines if bottom sheet could be scrollable by gesture. |
66
-
| enabledManualSnapping | no |`true`| If `false` blocks snapping using `snapTo` method. |
65
+
| enabledGestureInteraction | no |`true`| Defines if bottom sheet could be scrollable by gesture. |
66
+
| enabledManualSnapping | no |`true`| If `false` blocks snapping using `snapTo` method. |
67
67
| enabledInnerScrolling | no |`true`| Defines whether it's possible to scroll inner content of bottom sheet. |
68
68
| callbackNode | no ||`reanimated` node which holds position of bottom sheet, where `0` it the highest snap point and `1` is the lowest. |
69
69
| contentPosition | no ||`reanimated` node which holds position of bottom sheet's content (in dp) |
70
-
| overdragResistanceFactor | no | 0 | `Defines how violently sheet has to stopped while overdragging. 0 means no overdrag |
71
-
| springConfig | no |`{ }`| Overrides config for spring animation |
72
-
| innerGestureHandlerRefs | no || Refs for gesture handlers used for building bottom sheet. The array consists fo three refs. The first for PanGH used for inner content scrolling. The second for PanGH used for header. The third for TapGH used for stopping scrolling the content. |
70
+
| overdragResistanceFactor | no | 0 | `Defines how violently sheet has to stopped while overdragging. 0 means no overdrag |
71
+
| springConfig | no |`{ }`| Overrides config for spring animation |
72
+
| innerGestureHandlerRefs | no || Refs for gesture handlers used for building bottom sheet. The array consists fo three refs. The first for PanGH used for inner content scrolling. The second for PanGH used for header. The third for TapGH used for stopping scrolling the content. |
73
73
74
74
75
75
## Methods
@@ -105,3 +105,15 @@ It's not finished and some work has to be done yet.
105
105
2. Horizontal mode
106
106
3. Deal with GH in inner scrollView
107
107
4. Cleanup code (e.g. measuring of components)
108
+
109
+
## Contributing
110
+
111
+
### Publishing a release
112
+
113
+
We use [release-it](https://github.com/release-it/release-it) to automate our release. If you have publish access to the NPM package, run the following from the master branch to publish a new release:
114
+
115
+
```sh
116
+
yarn release
117
+
```
118
+
119
+
NOTE: You must have a `GITHUB_TOKEN` environment variable available. You can create a GitHub access token with the "repo" access [here](https://github.com/settings/tokens).
0 commit comments