ui-lit
Version:
UI Elements on LIT
21 lines (20 loc) • 556 B
TypeScript
import { LitElement } from 'lit';
declare type TextStatus = "error" | "danger" | "attention" | "success" | "accented" | "none";
export interface ITextProps {
status: TextStatus;
center: boolean;
pulse: boolean;
}
export declare class LitText extends LitElement {
static styles: import("lit").CSSResult;
center: boolean;
pulse: boolean;
status: TextStatus;
render(): import("lit").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
'lit-text': LitText;
}
}
export {};