'use strict';

const index$1 = require('./index-457520a1.js');

const ElementQuestionBase = (props, children) => {
    const { question, required } = props;
    return [
        index$1.h("bce-input", Object.assign({ type: "textarea" }, question, { validation: "required", compact: true })),
        ...children,
        index$1.h("bce-switch", Object.assign({}, required))
    ];
};

exports.ElementQuestionBase = ElementQuestionBase;
