@hashicorp/design-system-components
Version:
Helios Design System Components
29 lines (28 loc) • 1.11 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import type { HdsFormFieldsetSignature } from '../fieldset';
import type { ComponentLike } from '@glint/template';
import type { HdsFormLegendSignature } from '../legend';
import type { HdsFormHelperTextSignature } from '../helper-text';
import type { HdsFormRadioFieldSignature } from './field';
import type { HdsFormErrorSignature } from '../error';
export interface HdsFormRadioGroupSignature {
Args: HdsFormFieldsetSignature['Args'] & {
name?: string;
};
Blocks: {
default: [
{
Legend?: ComponentLike<HdsFormLegendSignature>;
HelperText?: ComponentLike<HdsFormHelperTextSignature>;
RadioField?: ComponentLike<HdsFormRadioFieldSignature>;
Error?: ComponentLike<HdsFormErrorSignature>;
}
];
};
Element: HdsFormFieldsetSignature['Element'];
}
declare const HdsFormRadioGroup: import("@ember/component/template-only").TemplateOnlyComponent<HdsFormRadioGroupSignature>;
export default HdsFormRadioGroup;