diff --git a/en/react-native-animate-number.md b/en/react-native-animate-number.md
index 82121cb8ad211cad06f9a92283ae714d23ad8999..af60979894813d4e6076d0e16a2a360e56cb12f7 100644
--- a/en/react-native-animate-number.md
+++ b/en/react-native-animate-number.md
@@ -98,7 +98,7 @@ const App = () => {
value={value}
countBy={1}
interval={150}
- formatter={(val) => {
+ formatter={(val: any) => {
return "$ " + parseFloat(val).toFixed(2);
}}
/>
diff --git a/en/react-native-scrollable-tab-view.md b/en/react-native-scrollable-tab-view.md
index a5deb72cda90dbeb60f5d5704aa866faeea47140..2604c2541670a39dd769f2910fcb4a68554af795 100644
--- a/en/react-native-scrollable-tab-view.md
+++ b/en/react-native-scrollable-tab-view.md
@@ -50,15 +50,21 @@ import {
import ScrollableTabView, { DefaultTabBar } from 'react-native-scrollable-tab-view';
+const TabText = (props: any) => {
+ return (
+ {props.children}
+ )
+}
+
export default () => {
return }
>
- My
- favorite
- project
+ My
+ favorite
+ project
;
}
```
diff --git a/en/react-native-text-size.md b/en/react-native-text-size.md
index 90b3c8aedf3198eb591475a0669a1b2a0f5de3b9..8059b1fac5ea672e66ec2a7656b69749e3d7e36a 100644
--- a/en/react-native-text-size.md
+++ b/en/react-native-text-size.md
@@ -125,7 +125,7 @@ export default function TextSizeExample() {
- measure:[fontFamily: undefined,fontSize: 20,fontStyle: 'normal', 正斜fontWeight: '700']
+ measure:[fontFamily: undefined,fontSize: 20,fontStyle: 'normal', fontWeight: '700']
- specsForTextStyles:获取系统默认配置的字体的具体信息
+ specsForTextStyles: Obtains the default font information.
{JSON.stringify(key)}
- fontFamilyNames:获取系统默认配置的字体
+ fontFamilyNames: Obtains the default fonts.
{res}
- fontNamesForFamilyName:获取系统字体的属性
+ fontNamesForFamilyName: Obtains the property of the system font.
{res2}
- fontFromSpecs:返回从给定规范中获得的字体特征
+ fontFromSpecs: Returns the font features obtained from the given specification.
{JSON.stringify(info)}
diff --git a/zh-cn/react-native-animate-number.md b/zh-cn/react-native-animate-number.md
index 5f113c76d8eb7903859f0047c1adaacbc6121deb..cc9c8dd6eb5231fd111bbdf13bf8695f890eba61 100644
--- a/zh-cn/react-native-animate-number.md
+++ b/zh-cn/react-native-animate-number.md
@@ -98,7 +98,7 @@ const App = () => {
value={value}
countBy={1}
interval={150}
- formatter={(val) => {
+ formatter={(val: any) => {
return "$ " + parseFloat(val).toFixed(2);
}}
/>
diff --git a/zh-cn/react-native-scrollable-tab-view.md b/zh-cn/react-native-scrollable-tab-view.md
index 02b32a6ab5649708981c2f58a91ccd50faf06bdf..aa35156d46aaf36465932f40c2ee1861737d1444 100644
--- a/zh-cn/react-native-scrollable-tab-view.md
+++ b/zh-cn/react-native-scrollable-tab-view.md
@@ -50,15 +50,21 @@ import {
import ScrollableTabView, { DefaultTabBar } from 'react-native-scrollable-tab-view';
+const TabText = (props: any) => {
+ return (
+ {props.children}
+ )
+}
+
export default () => {
return }
>
- My
- favorite
- project
+ My
+ favorite
+ project
;
}
```