@protorians/widgets
Version:
Create your web user interfaces with widgets
18 lines (17 loc) • 1.03 kB
TypeScript
import { WidgetNode } from "../widget-node.js";
import type { IHeadingAttributes, IStyleSheetDeclarations, IWidgetDeclaration } from "../types/index.js";
export declare class SmallHeadingWidget extends WidgetNode<HTMLHeadElement, IHeadingAttributes> {
get tag(): string;
static get style(): IStyleSheetDeclarations;
}
export declare class HeadingWidget extends WidgetNode<HTMLHeadElement, IHeadingAttributes> {
get tag(): string;
static get style(): IStyleSheetDeclarations;
}
export declare class LargeHeadingWidget extends WidgetNode<HTMLHeadElement, IHeadingAttributes> {
get tag(): string;
static get style(): IStyleSheetDeclarations;
}
export declare function SmallHeading(declaration: IWidgetDeclaration<HTMLElement, IHeadingAttributes>): SmallHeadingWidget;
export declare function Heading(declaration: IWidgetDeclaration<HTMLElement, IHeadingAttributes>): HeadingWidget;
export declare function LargeHeading(declaration: IWidgetDeclaration<HTMLElement, IHeadingAttributes>): LargeHeadingWidget;