PerformanceOverlay
display
PerformanceOverlay component
Terminal
$termuijs render performance-overlay
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
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | required | Content to render |
style | Styles | {} | Ink style object |
width | number | string | — | Fixed width in columns |
height | number | — | Fixed height in rows |