@kitten-science/kitten-scientists
Version:
Add-on for the wonderful incremental browser game: https://kittensgame.com/web/
17 lines • 632 B
TypeScript
import { UiComponent, type UiComponentOptions } from "./UiComponent.js";
export type ParagraphOptions = ThisType<Paragraph> & UiComponentOptions & {
readonly classes?: Array<string>;
};
export declare class Paragraph extends UiComponent {
readonly options: ParagraphOptions;
/**
* Constructs a paragraph.
*
* @param host - A reference to the host.
* @param text - The text inside the paragraph.
* @param options - Options for the UI element.
*/
constructor(parent: UiComponent, text: string, options?: ParagraphOptions);
toString(): string;
}
//# sourceMappingURL=Paragraph.d.ts.map