@hashicorp/design-system-components
Version:
Helios Design System Components
27 lines (26 loc) • 1.09 kB
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import type { TemplateOnlyComponent } from '@ember/component/template-only';
import type { WithBoundArgs } from '@glint/template';
import HdsFormRadioField from './field';
import type { HdsFormFieldsetSignature } from '../fieldset/index';
export interface HdsFormRadioGroupSignature {
Args: HdsFormFieldsetSignature['Args'] & {
name?: string;
};
Blocks: {
default: [
{
Legend?: HdsFormFieldsetSignature['Blocks']['default'][0]['Legend'];
HelperText?: HdsFormFieldsetSignature['Blocks']['default'][0]['HelperText'];
RadioField?: WithBoundArgs<typeof HdsFormRadioField, 'name' | 'isRequired' | 'extraAriaDescribedBy' | 'contextualClass'>;
Error?: HdsFormFieldsetSignature['Blocks']['default'][0]['Error'];
}
];
};
Element: HdsFormFieldsetSignature['Element'];
}
declare const HdsFormRadioGroup: TemplateOnlyComponent<HdsFormRadioGroupSignature>;
export default HdsFormRadioGroup;