Callout
feedback
Callout component
Terminal
$termuijs render callout
Installation
$ bunx termuijs add callout
Copies the source into src/components/callout/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { Callout } from '@termuijs/widgets'ts
new Callout(message: string, style: Partial<Style> = {}, opts: CalloutOptions = {})API Reference
Callout
| Prop | Type | Required | Description |
|---|---|---|---|
message | string | required | — |
variant | CalloutVariant | optional | — |
title | string | optional | — |