"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultPlugin = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const RenderCaret_1 = require("./RenderCaret");
const RenderFocus_1 = require("./RenderFocus");
const RenderAnchor_1 = require("./RenderAnchor");
const RenderInline_1 = require("./RenderInline");
const RenderPeritext_1 = require("./RenderPeritext");
const RenderBlock_1 = require("./RenderBlock");
const text_1 = require("./text");
const h = React.createElement;
exports.defaultPlugin = {
    text: text_1.text,
    caret: (props, children) => h(RenderCaret_1.RenderCaret, props, children),
    focus: (props, children) => h(RenderFocus_1.RenderFocus, props, children),
    anchor: (props) => h(RenderAnchor_1.RenderAnchor, props),
    inline: (props, children) => h(RenderInline_1.RenderInline, props, children),
    block: (props, children) => h(RenderBlock_1.RenderBlock, props, children),
    peritext: (children, ctx) => h(RenderPeritext_1.RenderPeritext, { children, ctx }),
};
//# sourceMappingURL=index.js.map