src/PseudoText.js
function renderText(args, that) {
  if (isNewTextVersion) {
    args[0] = { ...args[0], children: pseudoText(args[0].children) };
    return defaultTextRender.apply(that, args);
  } else {
    const element = defaultTextRender.apply(that, args);
    return React.cloneElement(element, {
      children: pseudoText(element.props.children)
    });
  }
}
function renderText(args, that) {
  if (isNewTextVersion) {
    args[0] = { ...args[0], children: pseudoText(args[0].children) };
    return defaultTextRender.apply(that, args);
  } else {
    const element = defaultTextRender.apply(that, args);
    return React.cloneElement(element, {
      children: pseudoText(element.props.children)
    });
  }
}
function renderText ( args , that ) { if ( isNewTextVersion ) { args [ 0 ] = { ... args [ 0 ] , children : pseudoText ( args [ 0 ] . children ) } ; return defaultTextRender . apply ( that , args ) ; } else { const element = defaultTextRender . apply ( that , args ) ; return React . cloneElement ( element , { children : pseudoText ( element . props . children ) } ) ; } }
React native text render logic
React native text render logic