import { type ComponentOptions } from "https://deno.land/x/tui@1.3.4/src/component.ts";
Interface defining object that {Component}'s constructor can interpret
Properties
tui: Tui
Parent tui, used for retrieving canvas and adding event listeners
optional
view: ViewComponentComponent that can manipulate drawing position on the canvas by replacing tui
element with fake one
optional
theme: Partial<Theme>Theme defining look of component
optional
rectangle: RectanglePosition and size of component