UNPKG

@hashicorp/design-system-components

Version:
33 lines (32 loc) 1.2 kB
/** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import type { WithBoundArgs } from '@glint/template'; import HdsFormSectionHeader from './header'; import HdsFormSectionMultiFieldGroup from './multi-field-group/index'; import HdsFormHeaderTitle from '../header/title'; import HdsFormHeaderDescription from '../header/description'; import HdsFormSectionMultiFieldGroupItem from './multi-field-group/item'; export interface HdsFormSectionSignature { Args: { isFullWidth?: boolean; }; Blocks: { default: [ { Section?: typeof HdsFormSection; Header?: typeof HdsFormSectionHeader; HeaderTitle?: WithBoundArgs<typeof HdsFormHeaderTitle, 'size'>; HeaderDescription?: typeof HdsFormHeaderDescription; MultiFieldGroup?: typeof HdsFormSectionMultiFieldGroup; MultiFieldGroupItem?: typeof HdsFormSectionMultiFieldGroupItem; } ]; }; Element: HTMLDivElement; } export default class HdsFormSection extends Component<HdsFormSectionSignature> { get classNames(): string; }