@hashicorp/design-system-components
Version:
Helios Design System Components
25 lines (24 loc) • 1.02 kB
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import type { TemplateOnlyComponent } from '@ember/component/template-only';
import HdsYield from '../../yield/index';
import type { HdsFormFieldSignature } from '../field/index';
import type { HdsFormSelectBaseSignature } from './base';
export interface HdsFormSelectFieldSignature {
Args: Omit<HdsFormFieldSignature['Args'], 'contextualClass' | 'layout'> & HdsFormSelectBaseSignature['Args'];
Blocks: {
default: [
{
Label?: HdsFormFieldSignature['Blocks']['default'][0]['Label'];
HelperText?: HdsFormFieldSignature['Blocks']['default'][0]['HelperText'];
Error?: HdsFormFieldSignature['Blocks']['default'][0]['Error'];
Options?: typeof HdsYield;
}
];
};
Element: HdsFormSelectBaseSignature['Element'];
}
declare const HdsFormSelectField: TemplateOnlyComponent<HdsFormSelectFieldSignature>;
export default HdsFormSelectField;