UNPKG

@hashicorp/design-system-components

Version:
22 lines (21 loc) 634 B
/** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import type { HdsFormIndicatorSignature } from '../indicator/index'; export interface HdsFormLegendSignature { Args: { contextualClass?: string; isOptional?: HdsFormIndicatorSignature['Args']['isOptional']; isRequired?: HdsFormIndicatorSignature['Args']['isRequired']; id?: string; }; Blocks: { default: []; }; Element: HTMLLegendElement; } export default class HdsFormLegend extends Component<HdsFormLegendSignature> { get classNames(): string; }