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