import { h } from './index-b13326fc.js';

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

export { ElementQuestionBase as E };
