@hashicorp/design-system-components
Version:
Helios Design System Components
30 lines (29 loc) • 908 B
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import type { SafeString } from '@ember/template';
import type { HdsIconSignature } from '../icon/index';
export interface HdsBreadcrumbItemSignature {
Args: {
current?: boolean;
maxWidth?: string;
text: string;
isRouteExternal?: boolean;
icon?: HdsIconSignature['Args']['name'];
route?: string;
href?: string;
models?: Array<string | number>;
model?: string | number;
query?: Record<string, string>;
'current-when'?: string;
replace?: boolean;
};
Element: HTMLLIElement;
}
export default class HdsBreadcrumbItem extends Component<HdsBreadcrumbItemSignature> {
get maxWidth(): string | undefined;
get itemStyle(): SafeString | undefined;
get classNames(): string;
}