@synergy-design-system/components
Version:
32 lines (31 loc) • 1.05 kB
TypeScript
import SynDivider from '../divider/divider.component.js';
import SynergyElement from '../../internal/synergy-element.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Menu labels are used to describe a group of menu items.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-menu-label--docs
* @status stable
* @since 1.12.0
*
* @slot - The menu label's content.
*
* @csspart base - The component's base wrapper.
* @csspart divider - The divider that is displayed above the content
* @csspart label - The label that is displayed below the divider
*
* @dependency syn-divider
*
* @cssproperty --display-divider - Display property of the divider. Defaults to "block"
*/
export default class SynMenuLabel extends SynergyElement {
static styles: CSSResultGroup;
static dependencies: {
'syn-divider': typeof SynDivider;
};
render(): import("lit").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
'syn-menu-label': SynMenuLabel;
}
}