@hashicorp/design-system-components
Version:
Helios Design System Components
28 lines (27 loc) • 877 B
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import { HdsTableHorizontalAlignmentValues } from './types.ts';
import type { HdsTableHorizontalAlignment, HdsTableScope } from './types.ts';
export declare const ALIGNMENTS: HdsTableHorizontalAlignment[];
export declare const DEFAULT_ALIGN = HdsTableHorizontalAlignmentValues.Left;
export interface HdsTableThSignature {
Args: {
align?: HdsTableHorizontalAlignment;
isVisuallyHidden?: boolean;
scope?: HdsTableScope;
tooltip?: string;
width?: string;
};
Blocks: {
default: [];
};
Element: HTMLTableCellElement;
}
export default class HdsTableTh extends Component<HdsTableThSignature> {
private _labelId;
get align(): HdsTableHorizontalAlignment;
get classNames(): string;
}