concentric-sheet 0.0.2 → 0.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.
|
@@ -6,5 +6,5 @@ export interface NativeSheetModalProps extends Pick<RNModalProps, 'children' | '
|
|
|
6
6
|
}
|
|
7
7
|
export declare function applyPresentedModalConfig(config: PresentedModalConfig): boolean;
|
|
8
8
|
export declare function dismissPresentedNativeModal(animated?: boolean): boolean;
|
|
9
|
-
export declare function Modal(props: NativeSheetModalProps): React.JSX.Element
|
|
9
|
+
export declare function Modal(props: NativeSheetModalProps): React.JSX.Element;
|
|
10
10
|
export default Modal;
|
package/lib/NativeSheetModal.js
CHANGED
|
@@ -235,9 +235,6 @@ export function Modal(props) {
|
|
|
235
235
|
clearRetryTimeout();
|
|
236
236
|
onDismissProp?.();
|
|
237
237
|
}, [clearRetryTimeout, onDismissProp]);
|
|
238
|
-
if (Platform.OS === 'ios' && !visible) {
|
|
239
|
-
return null;
|
|
240
|
-
}
|
|
241
238
|
return (React.createElement(RNModal, { visible: visible, animationType: animationType ?? 'slide', presentationStyle: presentationStyle ?? 'pageSheet', onRequestClose: onRequestClose, onDismiss: onDismiss, onShow: onShow, allowSwipeDismissal: resolvedAllowSwipeDismissal }, children));
|
|
242
239
|
}
|
|
243
240
|
export default Modal;
|
package/package.json
CHANGED
package/src/NativeSheetModal.tsx
CHANGED