@hashicorp/design-system-components
Version:
Helios Design System Components
28 lines (27 loc) • 1.01 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import type { HdsFormFieldSignature } from '../field';
import type { ComponentLike } from '@glint/template';
import type { HdsFormLabelSignature } from '../label';
import type { HdsFormHelperTextSignature } from '../helper-text';
import type { HdsFormErrorSignature } from '../error';
export interface HdsFormRadioFieldSignature {
Args: Omit<HdsFormFieldSignature['Args'], 'isOptional'> & {
value?: string;
name?: string;
};
Blocks: {
default: [
{
Label?: ComponentLike<HdsFormLabelSignature>;
HelperText?: ComponentLike<HdsFormHelperTextSignature>;
Error?: ComponentLike<HdsFormErrorSignature>;
}
];
};
Element: HdsFormFieldSignature['Element'];
}
declare const HdsFormRadioField: import("@ember/component/template-only").TemplateOnlyComponent<HdsFormRadioFieldSignature>;
export default HdsFormRadioField;