UNPKG

@hashicorp/design-system-components

Version:
20 lines (16 loc) 794 B
import HdsTextBody from '../text/body.js'; import { precompileTemplate } from '@ember/template-compilation'; import { setComponentTemplate } from '@ember/component'; import templateOnly from '@ember/component/template-only'; /** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ const HdsApplicationStateBody = setComponentTemplate(precompileTemplate("<div class=\"hds-application-state__body\" ...attributes>\n {{#if (has-block)}}\n {{yield}}\n {{else}}\n <HdsTextBody class=\"hds-application-state__body-text\" @tag=\"p\" @size=\"300\">\n {{@text}}\n </HdsTextBody>\n {{/if}}\n</div>", { strictMode: true, scope: () => ({ HdsTextBody }) }), templateOnly()); export { HdsApplicationStateBody as default }; //# sourceMappingURL=body.js.map