Skip to content

Commit 83538c0

Browse files
committed
docs: add import for tasks example
1 parent 4c89dd7 commit 83538c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/prompts/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ console.log(group.name, group.age, group.color);
203203
Execute multiple tasks in spinners.
204204

205205
```js
206-
await p.tasks([
206+
import { tasks } from '@clack/prompts';
207+
208+
await tasks([
207209
{
208210
title: 'Installing via npm',
209211
task: async (message) => {

0 commit comments

Comments
 (0)