Skip to content

PerformanceOverlay

widgetsdisplay

PerformanceOverlay component

Installation

$ bunx termuijs add performance-overlay

Copies the source into src/components/performance-overlay/ and installs @termuijs/core, @termuijs/widgets.

Usage

ts
import { PerformanceOverlay } from '@termuijs/widgets'
ts
new PerformanceOverlay(style: Partial<Style> = {})

API Reference

PerformanceOverlay

PropTypeDefaultDescription
childrenReactNoderequiredContent to render
styleStyles{}Ink style object
widthnumber | stringFixed width in columns
heightnumberFixed height in rows
#display#performance-overlay