From bcf473928d30bf1fc8b9253187436a28de0885aa Mon Sep 17 00:00:00 2001 From: p60087772 Date: Thu, 12 Jun 2025 15:54:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20[Issues:=20#ICEPKS]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9animate-number=E5=92=8Cscrollable-tab-view=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-animate-number.md | 2 +- en/react-native-scrollable-tab-view.md | 12 +++++++++--- zh-cn/react-native-animate-number.md | 2 +- zh-cn/react-native-scrollable-tab-view.md | 12 +++++++++--- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/en/react-native-animate-number.md b/en/react-native-animate-number.md index 82121cb8..af609798 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 a5deb72c..2604c254 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/zh-cn/react-native-animate-number.md b/zh-cn/react-native-animate-number.md index 5f113c76..cc9c8dd6 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 02b32a6a..aa35156d 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 ; } ``` -- Gitee From 2dccd9e9fe8033e124676e65614ba2774365df92 Mon Sep 17 00:00:00 2001 From: p60087772 Date: Thu, 12 Jun 2025 16:33:33 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20[Issues:=20#ICEPKS]=20=E8=BF=98?= =?UTF-8?q?=E5=8E=9F=E4=B8=8A=E6=AC=A1=E8=AF=AF=E6=8F=90=E4=BA=A4=E7=9A=84?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-text-size.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/en/react-native-text-size.md b/en/react-native-text-size.md index 90b3c8ae..8059b1fa 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)} -- Gitee