"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.clientRenderToString = void 0;

var _preact = require("preact");

const clientRenderToString = contents => {
  const el = document.createElement('div');
  (0, _preact.render)(contents, el);
  return el.innerHTML;
};

exports.clientRenderToString = clientRenderToString;