UNPKG

@hashicorp/design-system-components

Version:
21 lines (20 loc) 620 B
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import type { HdsTextBodySignature } from '../../text/body'; export interface HdsDropdownListItemDescriptionSignature { Args: { text: string; }; Element: HdsTextBodySignature['Element']; } export default class HdsDropdownListItemDescription extends Component<HdsDropdownListItemDescriptionSignature> { /** * @param text * @type {string} * @description The text of the item. If no text value is defined an error will be thrown */ get text(): string; }