diff --git a/en/react-native-json-tree.md b/en/react-native-json-tree.md index 6a9891650aa8ec9d0b70f8b21d9fde8efa9b4ece..1e7dddd3751ed32a09aeb097dc6cc0dd31727d54 100644 --- a/en/react-native-json-tree.md +++ b/en/react-native-json-tree.md @@ -283,7 +283,7 @@ For details, see [react-native-json-tree docs](https://github.com/Dean177/react- | `valueRenderer` | `Rendering function for custom node values`. | `()=>void` | No | All | Yes | | `sortObjectKeys` | `Sort the keys of JSON objects`. | `()=>void` | No | All | Yes | | `keyPath` | `A data node used to identify and customize a specific path in a JSON tree`. | `['']` | No | All | Yes | -| `collectionLimit` | `Use to control the maximum number of elements of a collection displayed in a JSON tree`. | `number` | No | All | Yes | +| `collectionLimit` | `Use to control the maximum number of elements of a collection displayed in a JSON tree`. | `number` | No | All | No | | `postprocessValue` | `For customizing values before they are rendered`. | `()=>void` | No | All | Yes | | `isCustomNode` | `Specify which nodes should use custom rendered properties.` | `()=>bool` | No | All | Yes | @@ -291,6 +291,8 @@ For details, see [react-native-json-tree docs](https://github.com/Dean177/react- ## Others +-The collectionLimit attribute of JSONTree component does not take effect, which is consistent with iOS [issue # 163](https://github.com/Dean177/react-native-json-tree/issues/163) + ## License This project is licensed under [The MIT License (MIT)](https://github.com/Dean177/react-native-json-tree/blob/master/LICENSE.md). diff --git a/zh-cn/react-native-json-tree.md b/zh-cn/react-native-json-tree.md index 6cd5ea508474051822f739fc89a2be38449e4331..3add10c2e59cca31788e019790d32eb1f759d3e1 100644 --- a/zh-cn/react-native-json-tree.md +++ b/zh-cn/react-native-json-tree.md @@ -286,7 +286,7 @@ export default () => { | `valueRenderer` | `Rendering function for custom node values`. | `()=>void` | No | All | Yes | | `sortObjectKeys` | `Sort the keys of JSON objects`. | `()=>void` | No | All | Yes | | `keyPath` | `A data node used to identify and customize a specific path in a JSON tree`. | `['']` | No | All | Yes | -| `collectionLimit` | `Use to control the maximum number of elements of a collection displayed in a JSON tree`. | `number` | No | All | Yes | +| `collectionLimit` | `Use to control the maximum number of elements of a collection displayed in a JSON tree`. | `number` | No | All | No | | `postprocessValue` | `For customizing values before they are rendered`. | `()=>void` | No | All | Yes | | `isCustomNode` | `Specify which nodes should use custom rendered properties.` | `()=>bool` | No | All | Yes |