react-native-sheet-view 1.0.1 → 1.0.3

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/BottomSheet.js CHANGED
@@ -21,10 +21,6 @@ const BottomSheet = ({
21
21
  lineColor,
22
22
  titleColor,
23
23
  }) => {
24
- if (!visible) {
25
- return null;
26
- }
27
-
28
24
  const handleSelectOption = (index) => {
29
25
  onSelect(index);
30
26
  onCancel();
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  iOS | Android
5
5
  :------------------:|:------------------:
6
- ![MainDemonstration](./assets/iOS/MainDemonstration.png) | ![MainDemonstration](./assets/Android/MainDemonstration.png)
6
+ ![MainDemonstration](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/1b8c9f66-d629-4294-96af-0bf0e2af0984) | ![MainDemonstration](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/9eb8b864-6206-43f8-988b-b49a76cdfc38)
7
7
 
8
8
  ---
9
9
 
@@ -126,7 +126,7 @@ export default App;
126
126
 
127
127
  iOS | Android
128
128
  :------------------:|:------------------:
129
- ![HeaderTitle](./assets/iOS/HeaderTitle.png) | ![HeaderTitle](./assets/Android/HeaderTitle.png)
129
+ ![HeaderTitle](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/8fa4440b-a33e-4b71-9a0c-25cebc9522bd) | ![HeaderTitle](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/6e851555-4408-4402-a744-eee8d6857b2f)
130
130
 
131
131
  ```
132
132
  <BottomSheet
@@ -157,7 +157,7 @@ iOS | Android
157
157
 
158
158
  iOS | Android
159
159
  :------------------:|:------------------:
160
- ![TitleColor](./assets/iOS/TitleColor.png) | ![TitleColor](./assets/Android/TitleColor.png)
160
+ ![TitleColor](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/22e95466-9940-4671-a670-a5b9d871cbeb) | ![TitleColor](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/77bc06a0-6835-4618-9d27-e7afa6107bd7)
161
161
 
162
162
  ```
163
163
  <BottomSheet
@@ -189,7 +189,7 @@ iOS | Android
189
189
 
190
190
  iOS | Android
191
191
  :------------------:|:------------------:
192
- ![ShowCancelText](./assets/iOS/ShowCancelText.png) | ![ShowCancelText](./assets/Android/ShowCancelText.png)
192
+ ![ShowCancelText](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/1da004b3-ff3d-4e86-88fb-0b73c1718741) | ![ShowCancelText](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/1326ae26-8f53-44f6-9615-0597eba14223)
193
193
 
194
194
  ```
195
195
  <BottomSheet
@@ -220,7 +220,7 @@ iOS | Android
220
220
 
221
221
  iOS | Android
222
222
  :------------------:|:------------------:
223
- ![CancelText](./assets/iOS/CancelText.png) | ![CancelText](./assets/Android/CancelText.png)
223
+ ![CancelText](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/edabdbe5-ae11-4fe6-9f2f-9ec37f237412) | ![CancelText](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/6f354f6c-dc5b-4d1f-a159-4840bccaa975)
224
224
 
225
225
  ```
226
226
  <BottomSheet
@@ -250,7 +250,7 @@ iOS | Android
250
250
 
251
251
  iOS | Android
252
252
  :------------------:|:------------------:
253
- ![LineColor](./assets/iOS/LineColor.png) | ![LineColor](./assets/Android/LineColor.png)
253
+ ![LineColor](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/88d9ecf8-badc-49e3-ad9e-2daede87ef77) | ![LineColor](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/08c61477-7754-4cbe-93a6-88ab6b0282b1)
254
254
 
255
255
  ```
256
256
  <BottomSheet
@@ -279,7 +279,7 @@ iOS | Android
279
279
 
280
280
  iOS | Android
281
281
  :------------------:|:------------------:
282
- ![BackgroundColor](./assets/iOS/BackgroundColor.png) | ![BackgroundColor](./assets/Android/BackgroundColor.png)
282
+ ![BackgroundColor](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/d27f34e9-d6b9-4556-acd3-ba776562c63e) | ![BackgroundColor](https://github.com/cartagenae/react-native-sheet-view/assets/6395465/19bb348f-fba0-434e-9a6c-3086bddc2c53)
283
283
 
284
284
  ```
285
285
  <BottomSheet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-sheet-view",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A bottom sheet component for react native",
5
5
  "main": "BottomSheet.js",
6
6
  "scripts": {