function TreeNodeList({ treeClassName, nodeClassName, ...props }) {
	return (
		<ul className={treeClassName}>
			{props.value.map((node, index) => (
				<li key={index} className={nodeClassName}>
					<TreeNode
						{...props}
						{...node}
						index={props.index || 0}
						dataKey={get(node, 'dataKey')}
						value={get(node, 'value')}
						jsonpath={props.getJSONPath(get(node, 'dataKey'), {
							jsonpath: props.jsonpath,
							type: props.type,
							value: node,
						})}
					/>
				</li>
			))}
		</ul>
	);
}
/**
 * Render a list of TreeNode (branch or leaf).
 */
Render a list of TreeNode (branch or leaf).
Render a list of TreeNode ( branch or leaf ) .
function TreeNodeList({ treeClassName, nodeClassName, ...props }) {
	return (
		<ul className={treeClassName}>
			{props.value.map((node, index) => (
				<li key={index} className={nodeClassName}>
					<TreeNode
						{...props}
						{...node}
						index={props.index || 0}
						dataKey={get(node, 'dataKey')}
						value={get(node, 'value')}
						jsonpath={props.getJSONPath(get(node, 'dataKey'), {
							jsonpath: props.jsonpath,
							type: props.type,
							value: node,
						})}
					/>
				</li>
			))}
		</ul>
	);
}
function TreeNodeList ( { treeClassName , nodeClassName , ... props } ) { return ( < ul className = { treeClassName } > { props . value . map ( ( node , index ) => ( < li key = { index } className = { nodeClassName } > < TreeNode { ... props } { ... node } index = { props . index || 0 } dataKey = { get ( node , 'dataKey' ) } value = { get ( node , 'value' ) } jsonpath = { props . getJSONPath ( get ( node , 'dataKey' ) , { jsonpath : props . jsonpath , type : props . type , value : node , } ) } / > < / li > ) ) } < / ul > ) ; }
Render a list of TreeNode (branch or leaf).
Render a list of TreeNode ( branch or leaf ) .