@hashicorp/design-system-components
Version:
Helios Design System Components
22 lines (21 loc) • 650 B
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import type { HdsButtonSignature } from '../../button/';
export interface HdsRevealToggleButtonSignature {
Args: {
text: string;
isOpen?: boolean;
};
Element: HdsButtonSignature['Element'];
}
export default class HdsRevealToggleButton extends Component<HdsRevealToggleButtonSignature> {
/**
* Get the class names to apply to the component.
* @method ToggleButton#classNames
* @return {string} The "class" attribute to apply to the component.
*/
get classNames(): string;
}