import React from 'react';

// 获取content
function getContextNode(content, params) {
  if (typeof content === 'function') {
    return content(params);
  }
  if (typeof content === 'string') {
    return /*#__PURE__*/React.createElement("div", {
      className: "tabbar-group-tab-content"
    }, content);
  }
  return content;
}
export default getContextNode;