Skip to content

Commit aa90a3f

Browse files
authored
Update README.md
1 parent f2cef21 commit aa90a3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ autoOpen | Boolean | false | Whether to open all nodes when tree is loaded.
182182
selectable | Boolean | true | Whether or not a node is selectable in the tree.
183183
tabIndex | Number | 0 | Specifies the tab order to make tree focusable.
184184
data | Array or Object | [] | Tree data structure, or a collection of tree data structures.
185-
width \* | Number or String | '100%' | Width of the tree.
186-
height \* | Number or String | | Height of the tree.
185+
width | Number or String | '100%' | The tree width. It can be a number or string like "auto" or "100%".
186+
height | Number | | The tree height. Setting 100% height is currently not supported. See https://github.com/cheton/react-infinite-tree/issues/8.
187187
rowHeight \* | Number, Array, or Function({ node: Node, tree: Tree, index: Number }): Number | | Either a fixed height, an array containing the heights of all the rows, or a function that returns the height of the given node.
188188
rowRenderer | Function({ node: Node, tree: Tree, index: Number }): React Node | | A row renderer for rendering a tree node.
189189
loadNodes | Function(parentNode: Node, done: Function) | | Loads nodes on demand.

0 commit comments

Comments
 (0)