react-native-sheet-view 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +10 -10
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright © 2025 Eric Cartagena
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@ iOS | Android
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
### Installation
|
|
11
|
-
```
|
|
11
|
+
```bash
|
|
12
12
|
npm install --save react-native-sheet-view
|
|
13
13
|
```
|
|
14
14
|
or
|
|
15
|
-
```
|
|
15
|
+
```bash
|
|
16
16
|
yarn add react-native-sheet-view
|
|
17
17
|
```
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ yarn add react-native-sheet-view
|
|
|
20
20
|
|
|
21
21
|
### Import the BottomSheet component
|
|
22
22
|
|
|
23
|
-
```
|
|
23
|
+
```js
|
|
24
24
|
import BottomSheet from 'react-native-sheet-view';
|
|
25
25
|
```
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ import BottomSheet from 'react-native-sheet-view';
|
|
|
28
28
|
|
|
29
29
|
### Usage
|
|
30
30
|
|
|
31
|
-
```
|
|
31
|
+
```js
|
|
32
32
|
import React, { useState } from 'react';
|
|
33
33
|
import {
|
|
34
34
|
Text,
|
|
@@ -130,7 +130,7 @@ iOS | Android
|
|
|
130
130
|
|
|
131
131
|
##
|
|
132
132
|
|
|
133
|
-
```
|
|
133
|
+
```js
|
|
134
134
|
<BottomSheet
|
|
135
135
|
visible={isBottomSheetVisible}
|
|
136
136
|
options={options}
|
|
@@ -163,7 +163,7 @@ iOS | Android
|
|
|
163
163
|
|
|
164
164
|
##
|
|
165
165
|
|
|
166
|
-
```
|
|
166
|
+
```js
|
|
167
167
|
<BottomSheet
|
|
168
168
|
visible={isBottomSheetVisible}
|
|
169
169
|
options={options}
|
|
@@ -197,7 +197,7 @@ iOS | Android
|
|
|
197
197
|
|
|
198
198
|
##
|
|
199
199
|
|
|
200
|
-
```
|
|
200
|
+
```js
|
|
201
201
|
<BottomSheet
|
|
202
202
|
visible={isBottomSheetVisible}
|
|
203
203
|
options={options}
|
|
@@ -230,7 +230,7 @@ iOS | Android
|
|
|
230
230
|
|
|
231
231
|
##
|
|
232
232
|
|
|
233
|
-
```
|
|
233
|
+
```js
|
|
234
234
|
<BottomSheet
|
|
235
235
|
visible={isBottomSheetVisible}
|
|
236
236
|
options={options}
|
|
@@ -262,7 +262,7 @@ iOS | Android
|
|
|
262
262
|
|
|
263
263
|
##
|
|
264
264
|
|
|
265
|
-
```
|
|
265
|
+
```js
|
|
266
266
|
<BottomSheet
|
|
267
267
|
visible={isBottomSheetVisible}
|
|
268
268
|
options={options}
|
|
@@ -293,7 +293,7 @@ iOS | Android
|
|
|
293
293
|
|
|
294
294
|
##
|
|
295
295
|
|
|
296
|
-
```
|
|
296
|
+
```js
|
|
297
297
|
<BottomSheet
|
|
298
298
|
visible={isBottomSheetVisible}
|
|
299
299
|
options={options}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-sheet-view",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "A bottom sheet component for react native",
|
|
5
5
|
"main": "BottomSheet.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
"react-native": "^0.72.5",
|
|
14
14
|
"react-native-modal": "^13.0.1"
|
|
15
15
|
}
|
|
16
|
-
}
|
|
16
|
+
}
|