diff --git a/zh-cn/react-native-section-list-get-item-layout.md b/zh-cn/react-native-section-list-get-item-layout.md
index 35353637bb26ebd80e14dc8250b24e5a22d581f6..c5bb65cc9a510d7a957103d973ebe99940a4da57 100644
--- a/zh-cn/react-native-section-list-get-item-layout.md
+++ b/zh-cn/react-native-section-list-get-item-layout.md
@@ -1,19 +1,18 @@
-
-> 模板版本:v0.1.3
+> 模板版本:v0.2.2
-
rn-section-list-get-item-layout
+ react-native-section-list-get-item-layout
-
+
-
+
-> [!tip] [Github 地址](https://github.com/jsoendermann/rn-section-list-get-item-layout)
+> [!TIP] [Github 地址](https://github.com/jsoendermann/rn-section-list-get-item-layout)
## 安装与使用
@@ -24,13 +23,13 @@
#### **npm**
```bash
-npm install react-native-section-list-get-item-layout@^2.2.3
+npm install react-native-section-list-get-item-layout@2.2.3
```
#### **yarn**
```bash
-yarn add react-native-section-list-get-item-layout@^2.2.3
+yarn add react-native-section-list-get-item-layout@2.2.3
```
@@ -61,6 +60,8 @@ class MyComponent extends React.Component {
return ;
}
}
+
+export default MyComponent
```
## 约束与限制
@@ -69,7 +70,7 @@ class MyComponent extends React.Component {
本文档内容基于以下版本验证通过:
-1. RNOH:0.72.11; SDK:OpenHarmony(api11) 4.1.0.53; IDE:DevEco Studio 4.1.3.412; ROM:2.0.0.52(SP22C00E52R1P17log);
+1. RNOH: 0.72.27; SDK: HarmonyOS-Next-DB1 5.0.0.29(SP1); IDE: DevEco Studio 5.0.3.403; ROM: 3.0.0.25;
## API
@@ -77,10 +78,9 @@ class MyComponent extends React.Component {
> [!tip] "HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果。
-详情见 [rn-section-list-get-item-layout 源库地址](https://github.com/jsoendermann/rn-section-list-get-item-layout)
-| Name | Description | Type | Required | Platform | HarmonyOS Support |
-| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | -------- | ----------------- |
+| Name | Description | Type | Required | Platform | HarmonyOS Support |
+| ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | -------- | -------- | ----------------- |
| sectionListGetItemLayout({getItemHeight, getSeparatorHeight, getSectionHeaderHeight,getSectionFooterHeight,listHeaderHeight}) | This package provides a function that helps you construct the getItemLayout function for your SectionLists. For an explanation of why this exists, see this post. It's meant to be used like this | function | Yes | All | Yes |
## 遗留问题
@@ -90,5 +90,3 @@ class MyComponent extends React.Component {
## 开源协议
本项目基于 [The MIT License (MIT)](https://github.com/jsoendermann/rn-section-list-get-item-layout/blob/master/LICENSE) ,请自由地享受和参与开源。
-
-
\ No newline at end of file