UNPKG

@hashicorp/design-system-components

Version:
23 lines (22 loc) 920 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 { HdsFormFileInputBaseSignature } from './base'; export interface HdsFormFileInputFieldSignature { Args: Omit<HdsFormFieldSignature['Args'], 'contextualClass' | 'layout'>; Blocks: { default: [ { Label?: HdsFormFieldSignature['Blocks']['default'][0]['Label']; HelperText?: HdsFormFieldSignature['Blocks']['default'][0]['HelperText']; Error?: HdsFormFieldSignature['Blocks']['default'][0]['Error']; } ]; }; Element: HdsFormFileInputBaseSignature['Element']; } declare const HdsFormFileInputField: TemplateOnlyComponent<HdsFormFileInputFieldSignature>; export default HdsFormFileInputField;