UNPKG

@typed-tabletop-simulator/ui

Version:
15 lines (14 loc) 537 B
/** @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[]); }