react-native-boxes 1.4.84 → 1.4.86

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 +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-boxes",
3
- "version": "1.4.84",
3
+ "version": "1.4.86",
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
@@ -23,6 +23,7 @@ export type BottomSheetProps = {
23
23
  backgroundColor?: string
24
24
  closeIcon?: string | React.ReactNode
25
25
  swipeToCloseDisabled?: boolean
26
+ containerStyle?: StyleProp<ViewStyle>
26
27
 
27
28
  }
28
29
  /**
@@ -79,7 +80,7 @@ export const BottomSheet = (props: BottomSheetProps) => {
79
80
  )
80
81
  }
81
82
  return (
82
- <View style={styles.container}>
83
+ <View style={[styles.container, props.containerStyle]}>
83
84
  <Modal
84
85
  onDismiss={() => {
85
86