import { r as registerInstance, h } from './index-b13326fc.js';

const ElementTextEditor = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign({}, options));
    }
    render() {
        return [
            h("bce-input", Object.assign({}, this.prop('text', { localize: true }), { rows: 2, type: "textarea" })),
            h("slot", null)
        ];
    }
};

export { ElementTextEditor as bce_element_text_editor };
