UNPKG

@hashicorp/design-system-components

Version:
26 lines (25 loc) 937 B
/** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ import type { TemplateOnlyComponent } from '@ember/component/template-only'; import type { HdsFormFieldSignature } from '../field/index'; import type { HdsFormRadioBaseSignature } from './base'; export interface HdsFormRadioFieldSignature { Args: Omit<HdsFormFieldSignature['Args'], 'isOptional'> & { value?: string; name?: string; }; Blocks: { default: [ { Label?: HdsFormFieldSignature['Blocks']['default'][0]['Label']; HelperText?: HdsFormFieldSignature['Blocks']['default'][0]['HelperText']; Error?: HdsFormFieldSignature['Blocks']['default'][0]['Error']; } ]; }; Element: HdsFormRadioBaseSignature['Element']; } declare const HdsFormRadioField: TemplateOnlyComponent<HdsFormRadioFieldSignature>; export default HdsFormRadioField;