whole_func_string: function processProps(props) {
    const { title, 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;
  }
func_code_string: function processProps(props) {
    const { title, 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;
  }
func_documentation_string: Use `rc-tree` convertDataToTree to convert treeData to TreeNodes.
  This will change the label to title value