@hashicorp/design-system-components
Version:
Helios Design System Components
24 lines (23 loc) • 761 B
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import type { HdsIconSignature } from '../../icon';
import type { HdsFormCheckboxBaseSignature } from '../../form/checkbox/base.ts';
export interface HdsDropdownListItemCheckboxSignature {
Args: HdsFormCheckboxBaseSignature['Args'] & {
count?: string | number;
icon?: HdsIconSignature['Args']['name'];
};
Blocks: {
default: [];
};
Element: HdsFormCheckboxBaseSignature['Element'];
}
export default class HdsDropdownListItemCheckbox extends Component<HdsDropdownListItemCheckboxSignature> {
/**
* Determines the unique ID to assign to the checkbox control
*/
get id(): string;
}