@hashicorp/design-system-components
Version:
Helios Design System Components
24 lines (23 loc) • 732 B
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import type { HdsTextBodySignature } from '../../text/body';
export declare const ID_PREFIX = "helper-text-";
export interface HdsFormHelperTextSignature {
Args: {
contextualClass?: string;
controlId?: string;
onInsert?: (element: HTMLElement, ...args: any[]) => void;
};
Blocks: {
default: [];
};
Element: HdsTextBodySignature['Element'];
}
export default class HdsFormHelperText extends Component<HdsFormHelperTextSignature> {
get id(): string | null;
get onInsert(): (element: HTMLElement, ...args: any[]) => void;
get classNames(): string;
}