nl_tokens: Use rc - tree convertDataToTree to convert treeData to TreeNodes . This will change the label to title value
pl_tokens: function processProps ( props ) { const { <mask> , label , key , value } = props ; const cloneProps = { ... props } ; // Warning user not to use deprecated label prop. if ( label && ! title ) { if ( ! warnDeprecatedLabel ) { warning ( false , "'label' in treeData is deprecated. Please use 'title' instead." ) ; warnDeprecatedLabel = true ; } cloneProps . title = label ; } if ( ! key ) { cloneProps . key = value ; } return cloneProps ; }