Skip to content

Callout

widgetsfeedback

Callout component

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

PropTypeRequiredDescription
messagestringrequired
variantCalloutVariantoptional
titlestringoptional
#feedback#callout