import React from 'react';
function RenderChildNodes({ element, renderChildNodes }) {
    const children = renderChildNodes(element);
    return children.length === 0 ? null : React.createElement(React.Fragment, null, children);
}
export default RenderChildNodes;
//# sourceMappingURL=RenderChildNodes.js.map