@scania/tegel
Version:
Tegel Design System
18 lines (17 loc) • 558 B
TypeScript
/**
* @slot - <default> - <b>Default</b> slot for content inside the block.
*
* @example
* <tds-block>
* <section>Semantic section content</section>
* </tds-block>
*/
export declare class TdsBlock {
host: HTMLElement;
/** Mode variant of the component, based on current mode. */
modeVariant: 'primary' | 'secondary';
/** Specifies the HTML tag to be used for the component wrapper. */
componentTag: 'section' | 'div' | 'article' | 'aside' | 'header' | 'footer' | 'nav' | 'main';
private getNestingLevel;
render(): any;
}