UNPKG

@hashicorp/design-system-components

Version:
22 lines (21 loc) 731 B
/** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import type HdsIntlService from '../../../../services/hds-intl.ts'; import type { HdsButtonSignature } from '../../button/index'; export interface HdsFormKeyValueInputsAddRowButtonSignature { Args: { ariaLabel?: string; onClick?: () => void; text?: HdsButtonSignature['Args']['text']; }; Element: HdsButtonSignature['Element']; } export default class HdsFormKeyValueInputsAddRowButton extends Component<HdsFormKeyValueInputsAddRowButtonSignature> { readonly hdsIntl: HdsIntlService; get ariaDescription(): string; get text(): string; onClick: () => void; }