In order to successfully migrate AUI tree-view to React TreeView in wiki-navigation (task https://issues.liferay.com/browse/LPS-114189), MenuItem Java API needs to be modified.
To implement new solution in React, menuItems List from this file https://github.com/liferay/liferay-portal/blob/master/modules/apps/wiki/wiki-navigation-web/src/main/resources/META-INF/resources/tree_menu/view.jsp should be modified in Java.
It should be constructed as below:
label should be renamed to name
icon and id fields should be added
This is the expected menuItems list