@typed-tabletop-simulator/ui
Version:
JSX wrapper and components for Tabletop Simulator UI
14 lines (13 loc) • 475 B
TypeScript
/** @noSelfInFile */
import { BaseProps, BaseUIElement, ColorLikeProps, TextLikeProps, Vector2Prop } from "./base";
export interface TextProps extends BaseProps, TextLikeProps, ColorLikeProps {
overflow?: boolean;
outlineColor?: string;
outlineSize?: number;
shadowColor?: string;
shadowOffset?: number | Vector2Prop;
}
export declare class Text extends BaseUIElement<TextProps> {
constructor(props: TextProps);
setText: (text: string) => void;
}