Skip to content

Commit

Permalink
feat(web): Add autocomplete example to Playground (#6668)
Browse files Browse the repository at this point in the history
  • Loading branch information
rifont authored Oct 11, 2024
1 parent 2b9c2f4 commit 158c72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const helloWorld = workflow('hello-world', async ({ step, payload }) => {
*/
controlSchema: z.object({
subject: z.string().default('Welcome to Novu'),
title: z.string().default('Welcome to Novu'),
title: z.string().default('Welcome to Novu, {{payload.name}}'),
text: z.string()
.default(
'This email is generated using Tailwind and React Email. ' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const helloWorld = workflow('hello-world', async ({ step, payload }) => {
*/
controlSchema: z.object({
subject: z.string().default('Welcome to Novu'),
title: z.string().default('Welcome to Novu'),
title: z.string().default('Welcome to Novu, {{payload.name}}'),
text: z.string()
.default(
'This email is generated using Tailwind and React Email. ' +
Expand Down

0 comments on commit 158c72a

Please sign in to comment.