diff --git a/en/react-native-notifier.md b/en/react-native-notifier.md index 888f6e928c9efbd05e97d3032485b0a4feeef3b2..f92b1b0ac9f90a31e62211154e683075e7eeec2e 100644 --- a/en/react-native-notifier.md +++ b/en/react-native-notifier.md @@ -130,7 +130,7 @@ Notifier.showNotification(params: object); | description | Description of notification. Passed to Component. | String | Yes | All | Yes | | duration | Time after notification will disappear. Set to 0 to not hide notification automatically | Number | No | All | Yes | | Component | Component of the notification body. You can use one of the [bin components](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#components), or your [custom component](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#custom-component). | Component | No | All | Yes | -| componentProps | Additional props that are passed to Component. See all available props of built-in components in the [components section](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#components). | Object | No | All | Yes | +| componentProps | Additional props that are passed to Component. See all available props of built-in components in the [components section](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#components). | Object | No | All | No | | containerStyle | tyles Object or a Function that will receive translateY: Animated.Value as first parameter and should return Styles that will be used in container. Using this parameter it is possible to create[ your own animations of the notification](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#custom-animations). | bool | No | All | Yes | | containerProps | Props of Animated Container | Object | No | All | Yes | | queueMode | Determines the order in which notifications are shown. Read more in the [Queue Mode](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#queue-mode) section. | String | No | All | Yes | @@ -222,7 +222,7 @@ Currently, there are 2 components out of the box. If none of them fits your need ## Known Issues - [ ] translucentStatusBar 状态栏透明在 HarmonyOS 不支持,useRNScreensOverlay,rnScreensOverlayViewStyle 两个 Properties 依赖于 react-native-screens,暂未适配 harmonyOS - +- [ ] componentProps{needsOffscreenAlphaCompositing}, 在harmonyOS不支持 ## Others - omitGlobalMethodsHookup 源库 Properties 未生效 问题:[issues#102](https://github.com/seniv/react-native-notifier/issues/102) diff --git a/zh-cn/react-native-notifier.md b/zh-cn/react-native-notifier.md index c53cc98c9a63859b8b97ab5d82a653ea4540dc39..ef01e40aaf6a49ce113998a1d3af821846dfcffe 100644 --- a/zh-cn/react-native-notifier.md +++ b/zh-cn/react-native-notifier.md @@ -128,7 +128,7 @@ Notifier.showNotification(params: object); | description |Description of notification. Passed to Component. | String | Yes | All | Yes | | duration |Time after notification will disappear. Set to 0 to not hide notification automatically | Number | No |All | Yes | Component |Component of the notification body. You can use one of the [bin components](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#components), or your [custom component](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#custom-component). | Component | No |All | Yes -| componentProps | Additional props that are passed to Component. See all available props of built-in components in the [components section](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#components). | Object | No |All | Yes +| componentProps | Additional props that are passed to Component. See all available props of built-in components in the [components section](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#components). | Object | No |All | No | containerStyle |tyles Object or a Function that will receive translateY: Animated.Value as first parameter and should return Styles that will be used in container. Using this parameter it is possible to create[ your own animations of the notification](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#custom-animations). | bool |No | All | Yes | containerProps | Props of Animated Container | Object |No | All | Yes | queueMode | Determines the order in which notifications are shown. Read more in the [Queue Mode](https://github.com/seniv/react-native-notifier/tree/main?tab=readme-ov-file#queue-mode) section. | String |No | All | Yes @@ -216,7 +216,7 @@ Currently, there are 2 components out of the box. If none of them fits your need ## 遗留问题 - [ ] translucentStatusBar状态栏透明在HarmonyOS不支持,useRNScreensOverlay,rnScreensOverlayViewStyle两个属性依赖于react-native-screens,暂未适配harmonyOS - +- [ ] componentProps{needsOffscreenAlphaCompositing}, 在harmonyOS不支持 ## 其他 - omitGlobalMethodsHookup源库属性未生效 问题:[issues#102](https://github.com/seniv/react-native-notifier/issues/102)