@typed-tabletop-simulator/ui
Version:
JSX wrapper and components for Tabletop Simulator UI
15 lines (14 loc) • 537 B
TypeScript
/** @noSelfInFile */
import { OnClickHandler } from "../handler";
import { BaseProps, BaseUIElement, ColorLikeProps, HandlerFunction, Vector2Prop } from "./base";
export interface PanelProps extends BaseProps, ColorLikeProps {
draggable?: boolean;
borderColor?: string;
borderSize?: Vector2Prop;
onMouseEnter?: HandlerFunction;
onMouseExit?: HandlerFunction;
onClick?: OnClickHandler;
}
export declare class Panel extends BaseUIElement<PanelProps> {
constructor(props: PanelProps, children: JSX.Element[]);
}