tgui-angular
Version:
🚀 Angular UI library for Telegram Web Apps with modern components and theming support | 💼 Author is open to work opportunities | 📧 Contact: a.blagovestnov@gmail.com | 💬 Telegram: @ablagovestnov
25 lines (24 loc) • 1.34 kB
TypeScript
import { TypographyComponent } from '../typography.component';
import * as i0 from "@angular/core";
/**
* The Subheadline component is designed to render text that serves as a secondary heading
* or subheading within content. It leverages the Typography component for consistent text styling,
* offering additional control over the text's size through the `level` prop. By default, it renders
* as an `<h6>` element but can be customized with the `tag` property.
*/
export declare class SubheadlineComponent extends TypographyComponent {
/**
* Determines the size of the subheadline, with `1` being the default and '2' providing a smaller option.
*/
level: import("@angular/core").InputSignal<"1" | "2">;
tag: import("@angular/core").InputSignal<string | undefined>;
get isLevel1(): boolean;
get isLevel2(): boolean;
get isPlain(): boolean;
get isCaps(): boolean;
get isWeight1(): boolean;
get isWeight2(): boolean;
get isWeight3(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<SubheadlineComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SubheadlineComponent, "tgui-subheadline", never, { "level": { "alias": "level"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
}