class FrameComponent
implements FrameComponentImplementation
import { FrameComponent } from "https://deno.land/x/tui@1.3.4/src/components/frame.ts";
Component that creates frame border either around a component
or within rectangle
depending on what's specified
Constructors
new
FrameComponent(options: FrameComponentOptions)Type Parameters
optional
EventMap extends EventRecord = Record<never, never>Properties
component: Component | undefined
framePieces: "sharp" | "rounded" | FramePieceType
rectangle: Rectangle
state: ComponentState