diff --git a/en/react-native-image-viewing.md b/en/react-native-image-viewing.md index 8b72bb317bd1054d3705a2ae1e5d9d4c47419ab8..995bceac93ed6d9d3584d9bbb18ad740100d436d 100644 --- a/en/react-native-image-viewing.md +++ b/en/react-native-image-viewing.md @@ -212,17 +212,13 @@ Check the release version information in the release address of the third-party | animationType | Animation modal presented with: default | none, fade, slide | All | No | Yes | | presentationStyle | Modal presentation style: default: fullScreen Android: Use overFullScreen to hide StatusBar | fullScreen, pageSheet, formSheet, overFullScreen | All | No | Partially (Support "fullScreen", "overFullScreen") | | backgroundColor | Background color of the modal in HEX | string | All | No | Yes | -| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | No | -| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | No | +| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | Yes | +| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | Yes | | HeaderComponent | Header component, gets current imageIndex as a prop | component, function | All | No | Yes | | FooterComponent | Footer component, gets current imageIndex as a prop | component, function | All | No | Yes | ## Known Issues -- [x] The swipe-to-close property is not implemented because the **naticeEvent.velocity** property of **scrollView** is not supported by HarmonyOS: [issue#6](https://github.com/react-native-oh-library/react-native-image-viewing/issues/6). -- [x] The **doubleTapToZoomEnabled** property is not supported by HarmonyOS: [issue#7](https://github.com/react-native-oh-library/react-native-image-viewing/issues/7). -- [x] The fade-in/fade-out effect of the **animationType** property is not implemented because the adaptation of the **modal** component is not completed: [issue#8](https://github.com/react-native-oh-library/react-native-image-viewing/issues/8). - ## Others ## License diff --git a/zh-cn/react-native-image-viewing.md b/zh-cn/react-native-image-viewing.md index 65a43cdca0b0d8e5770ceccadc5ac0eb70ea1ded..d81ddeb24391d2215552fb6f169425f48c742179 100644 --- a/zh-cn/react-native-image-viewing.md +++ b/zh-cn/react-native-image-viewing.md @@ -211,17 +211,13 @@ const styles = StyleSheet.create({ | animationType | Animation modal presented with: default | none, fade, slide | All | No | Yes | | presentationStyle | Modal presentation style: default: fullScreen Android: Use overFullScreen to hide StatusBar | fullScreen, pageSheet, formSheet, overFullScreen | All | No | Partially (Support "fullScreen", "overFullScreen") | | backgroundColor | Background color of the modal in HEX | string | All | No | Yes | -| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | No | -| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | No | +| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | Yes | +| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | Yes | | HeaderComponent | Header component, gets current imageIndex as a prop | component, function | All | No | Yes | | FooterComponent | Footer component, gets current imageIndex as a prop | component, function | All | No | Yes | ## 遗留问题 -- [x] 组件上下滑动关闭暂未实现,由于 scrollView的naticeEvent.velocity属性HarmonyOS暂不支持 [issue#6](https://github.com/react-native-oh-library/react-native-image-viewing/issues/6) -- [x] 组件双击放大方法暂未实现,由于doubleTapToZoomEnabled属性HarmonyOS暂不支持 [issue#7](https://github.com/react-native-oh-library/react-native-image-viewing/issues/7) -- [x] 组件animationType淡入淡出效果暂未实现,由于modal组件未适配 [issue#8](https://github.com/react-native-oh-library/react-native-image-viewing/issues/8) - ## 其他 ## 开源协议