blob: 22dd281241f5262a8cf8614a168a9d8d714fe90c (
plain) (
blame)
1
2
3
4
|
import { h, render } from 'preact';
import StaticHtml from './static-html.js';
export default (element) => (Component, props, children) => render(h(Component, props, h(StaticHtml, { value: children })), element);
|