UNPKG

@typed-tabletop-simulator/ui

Version:
17 lines (16 loc) 576 B
/** @noSelfInFile */ import { OnClickHandler } from "../handler"; import { BaseProps, BaseUIElement, ColorLikeProps, Vector2Prop } from "./base"; export interface ImageProps extends BaseProps, ColorLikeProps { image: string; preserveAspect?: boolean; outlineColor?: string; outlineSize?: number; shadowColor?: string; shadowOffset?: number | Vector2Prop; onClick?: OnClickHandler; } export declare class Image extends BaseUIElement<ImageProps> { constructor(props: ImageProps, children: JSX.Element[]); setImage: (image: string) => void; }