You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: would be nice if the collection row information differentiated between childNodes vs childItems
94
-
// so we didn't have to keep iterating through info, perhaps make the user pass a prop to TreeItem for childItems/hasChildRows even in the static case?
/** A list of child tree row objects used when dynamically rendering the tree row children. */
284
284
childItems?: Iterable<T>,
285
285
// TODO: made this required since the user needs to pass Content at least
286
-
/** The content of the tree row along with any nested children. Supports static items or a function for dynamic rendering. */
287
-
children: ReactNode|((item: T)=>ReactElement)
286
+
/** The content of the tree row along with any nested children. Supports static nested tree rows or use of a Collection to dynamically render nested tree rows. */
0 commit comments