react-native-boxes 1.4.75 → 1.4.76

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Modal.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boxes",
3
- "version": "1.4.75",
3
+ "version": "1.4.76",
4
4
  "description": "A react native library for rapid development of UI using boxes",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/Modal.tsx CHANGED
@@ -36,7 +36,7 @@ export const BottomSheet = (props: BottomSheetProps) => {
36
36
  let cancellable = props.cancellable != undefined ?
37
37
  props.cancellable : true
38
38
  let swipeToCloseDisabled = props.swipeToCloseDisabled != undefined ?
39
- props.swipeToCloseDisabled : false
39
+ props.swipeToCloseDisabled : true
40
40
  useEffect(() => {
41
41
  setModalVisible(props.visible)
42
42
  if (props.visible)