reactjs-tiptap-editor
Version:
A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React
14 lines (13 loc) • 307 B
JavaScript
var s = (n, r) => {
if (n === "slot")
return 0;
if (n instanceof Function)
return n(r);
const { children: e, ...o } = r ?? {};
if (n === "svg")
throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");
return [n, o, e];
};
export {
s as h
};