Skip to content

implement the ListBoxSection component #4657

Answered by LFDanLu
birchrust asked this question in Q&A
Discussion options

You must be logged in to vote

Those props come from the Node type def:

key: Key,
/** The object value the node was created from. */
value: T | null,
/** The level of depth this node is at in the heirarchy. */
level: number,
/** Whether this item has children, even if not loaded yet. */
hasChildNodes: boolean,
/**
* The loaded children of this node.
* @deprecated Use `collection.getChildren(node.key)` instead.
*/
childNodes: Iterable<Node<T>>,
/** The rendered contents of this node (e.g. JSX). */
rendered: ReactNode,
. which our own ListBoxSect…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@birchrust
Comment options

Answer selected by birchrust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants