react-native-map-link 3.2.2 → 3.3.0

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.
@@ -11,6 +11,7 @@ export interface PopupProps {
11
11
  onCancelPressed: () => void;
12
12
  style?: {
13
13
  container?: ViewStyle;
14
+ modalView?: ViewStyle;
14
15
  itemContainer?: ViewStyle;
15
16
  image?: ImageStyle;
16
17
  itemText?: TextStyle;
@@ -72,13 +72,10 @@ const Popup = ({ isVisible, showHeader = true, customHeader, customFooter, onApp
72
72
  setIsVisible(false);
73
73
  }} {...modalProps}>
74
74
  <react_native_1.View style={[styles.container, style.container]}>
75
- <react_native_1.View style={styles.modalView}>
75
+ <react_native_1.View style={[styles.modalView, style.modalView]}>
76
76
  <PopupHeader_1.default showHeader={showHeader} customHeader={customHeader} style={style} options={options}/>
77
77
  <PopupBody_1.default apps={apps} isLoading={isLoading} style={style} titles={titles} onAppPressed={_onAppPressed}/>
78
- <PopupFooter_1.default customFooter={customFooter} onCancelPressed={onCancelPressed} style={{
79
- cancelButtonContainer: style.cancelButtonContainer,
80
- cancelButtonText: style.cancelButtonText,
81
- }} options={options}/>
78
+ <PopupFooter_1.default customFooter={customFooter} onCancelPressed={onCancelPressed} style={style} options={options}/>
82
79
  </react_native_1.View>
83
80
  </react_native_1.View>
84
81
  </react_native_1.Modal>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-map-link",
3
- "version": "3.2.2",
3
+ "version": "3.3.0",
4
4
  "description": "Open the map app of the user's choice with a specific location.",
5
5
  "source": "src/index",
6
6
  "main": "lib/index.js",