import { html } from "lit";
import { when } from "lit-html/directives/when.js";
const renderGeneratingAnswerLabel = ({ props })=>{
    const { i18n, isStreaming, collapsible } = props;
    const canRender = collapsible && isStreaming;
    return html`${when(canRender, ()=>html`
      <div
        part="is-generating"
        class="text-primary hidden text-base font-light"
      >
        ${i18n.t('generating-answer')}...
      </div>
    `)}`;
};
export { renderGeneratingAnswerLabel };
