English
Variable: intro
ts
const intro: (title?, opts?) => void;Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:644
The intro function defines the beginning of an interaction.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| Optional title to be displayed. |
| Additional configuration options. |
Returns
void
See
https://bomb.sh/docs/clack/packages/prompts/#intro
Example
ts
import { intro } from "@clack/prompts";
intro("Welcome to clack");
