import { h } from "@stencil/core";
export const ElementQuestionBase = (props, children) => {
    const { question, required } = props;
    return [
        h("bce-input", Object.assign({ type: "textarea" }, question, { validation: "required", compact: true })),
        ...children,
        h("bce-switch", Object.assign({}, required))
    ];
};
