UNPKG

@hashicorp/design-system-components

Version:
24 lines (20 loc) 869 B
import { hash } from '@ember/helper'; import HdsFormHeaderTitle from '../header/title.js'; import HdsFormHeaderDescription from '../header/description.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 HdsFormSectionHeader = setComponentTemplate(precompileTemplate("<div class=\"hds-form__section-header\" ...attributes>\n {{yield (hash Title=(component HdsFormHeaderTitle size=\"300\") Description=HdsFormHeaderDescription)}}\n</div>", { strictMode: true, scope: () => ({ hash, HdsFormHeaderTitle, HdsFormHeaderDescription }) }), templateOnly()); export { HdsFormSectionHeader as default }; //# sourceMappingURL=header.js.map