diff --git a/en/react-native-calendars.md b/en/react-native-calendars.md index 7e802a45f743889b7f1624f6780669e8bdbc792c..afa6af6d7e54980096efd5c0fb74400d0a025bfa 100644 --- a/en/react-native-calendars.md +++ b/en/react-native-calendars.md @@ -40,11 +40,11 @@ const MySvgComponent = () => { const data = [ { title: "Main", - data: "Pizza" + data: ["Pizza"] }, { title: "sides", - data: "French Fries" + data: ["French Fries"] } ] return ( @@ -70,7 +70,7 @@ const MySvgComponent = () => { }} /> ( { item.name } - { item.data } diff --git a/en/react-native-root-siblings.md b/en/react-native-root-siblings.md index 9c45b65e26d81fe3ada533c27a1919bdfc1010bd..c6e2512b05f6187bbe77093e9846116d735ea5b7 100644 --- a/en/react-native-root-siblings.md +++ b/en/react-native-root-siblings.md @@ -117,7 +117,7 @@ In react native, a view has a higher hierarchy if it's more close to the root le - + ``` diff --git a/zh-cn/react-native-calendars.md b/zh-cn/react-native-calendars.md index cc4f9473d5b14a543cbf70018cdaa5134c363d5b..07ec0073fb7a10bcc8a47e5c59c462df64e8e6a7 100644 --- a/zh-cn/react-native-calendars.md +++ b/zh-cn/react-native-calendars.md @@ -40,11 +40,11 @@ const MySvgComponent = () => { const data = [ { title: "Main", - data: "Pizza" + data: ["Pizza"] }, { title: "sides", - data: "French Fries" + data: ["French Fries"] } ] return ( @@ -70,7 +70,7 @@ const MySvgComponent = () => { }} /> ( { item.name } - { item.data } diff --git a/zh-cn/react-native-root-siblings.md b/zh-cn/react-native-root-siblings.md index eb344444b516dbf5e93905b401ba77556218c8df..df4b2a7d1b0f55e7e01eb61aa8f9bff373ebddd3 100644 --- a/zh-cn/react-native-root-siblings.md +++ b/zh-cn/react-native-root-siblings.md @@ -117,7 +117,7 @@ RootSiblingParent 充当挂载基座,可以多次挂载。只有最后挂载 - + ```