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
31 lines (30 loc) • 1.41 kB
TypeScript
import * as i0 from "@angular/core";
/**
* Renders a stylized blockquote element, typically used for quotations or special text.
* The component can display a text in the subheadline and content below it.
* The component can include a customizable icon in the top right corner.
*
* ## Usage
*
* ```html
* <tgui-blockquote icon="quote" text="Optional headline text">
* Content of the blockquote
* </tgui-blockquote>
* ```
*
* ### Properties
*
* - `icon`: Optional input to specify which icon to display in the top-right corner.
* Default is "quote" icon. Uses the dynamic icon component.
*
* - `text`: Optional text to be displayed as a headline above the content.
* If provided, it will be wrapped in the subheadline component.
*/
export declare class BlockquoteComponent {
/** The icon to display in the top right corner. Default is "quote". */
icon: import("@angular/core").InputSignal<string>;
/** Optional text to display as a headline above the content. */
text: import("@angular/core").InputSignal<string | undefined>;
static ɵfac: i0.ɵɵFactoryDeclaration<BlockquoteComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BlockquoteComponent, "tgui-blockquote", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
}