@hashicorp/design-system-components
Version:
Helios Design System Components
33 lines (32 loc) • 977 B
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import { HdsSeparatorSpacingValues } from './types.ts';
import type { HdsSeparatorSpacing } from './types.ts';
export declare const DEFAULT_SPACING = HdsSeparatorSpacingValues.TwentyFour;
export declare const SPACING: HdsSeparatorSpacing[];
export interface HdsSeparatorSignature {
Args: {
spacing?: HdsSeparatorSpacing;
};
Element: HTMLElement;
}
export default class HdsSeparator extends Component<HdsSeparatorSignature> {
/**
* Sets the margin for the separator
* Accepted values: 24, 0
*
* @param spacing
* @type {HdsSeparatorSpacing}
* @default 24
*/
get spacing(): HdsSeparatorSpacing;
/**
* Get the class names to apply to the component.
* @method classNames
* @return {string} The "class" attribute to apply to the component.
*/
get classNames(): string;
}