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.25 kB
TypeScript
import { TypographyComponent } from '../typography.component';
import * as i0 from "@angular/core";
/**
* The Caption component is a text wrapper that applies specific typographic styles,
* based on the provided `level` prop. It's built on top of the Typography component,
* ensuring consistent text styling across the application. It primarily serves for text
* that acts as a small, descriptive label or annotation.
*/
export declare class CaptionComponent extends TypographyComponent {
/**
* The size level of the caption, influencing its styling and typography size.
*/
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<CaptionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CaptionComponent, "tgui-caption", never, { "level": { "alias": "level"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
}