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

const ElementTextEditor = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.label = {
            name: 'Text',
            placeholderText: ''
        };
    }
    prop(path, options = {}) {
        return this.handler.prop(path, Object.assign(Object.assign({}, options), { label: this.label }));
    }
    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 };
