code: function deepMap(children, callback) {
    //参考https://github.com/reactjs/react-tabs/blob/master/src/helpers/childrenDeepMap.js
    return _react.Children.map(children, function (child) {
      if (child === null) return null;
      if (isRViewerTrigger(child)) {
        return callback(child);
      }
      if (child.props && child.props.children && _typeof(child.props.children) === 'object') {
        return (0, _react.cloneElement)(child, _extends({}, child.props, {
          children: deepMap(child.props.children, callback)
        }));
      }
      return child;
    });
  }
docs: /*
  对viewerjs的react封装
  https://github.com/fengyuanchen/viewerjs