'use strict';

const index$1 = require('./index-578e90b1.js');

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

exports.ElementQuestionBase = ElementQuestionBase;
