import React__default from 'react';

function jsxTextContent(children) {
  if (!children) return "";
  return React__default.Children.map(children, function (child) {
    if (typeof child === "string") return child;
    if (child.props.children) return jsxTextContent(child.props.children);
    return "";
  }).join("");
}

export { jsxTextContent };
