Skip to content

Commit

Permalink
✨ New QR code block (baptisteArno#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkashikar authored and thercd committed Feb 8, 2024
1 parent a61cad9 commit a27c240
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/forge/blocks/qrcode/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export const QrCodeLogo = (props: React.SVGProps<SVGSVGElement>) => (
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
{...props}
>
<rect width="5" height="5" x="3" y="3" rx="1" />
Expand Down
1 change: 1 addition & 0 deletions packages/forge/repository/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export const enabledBlocks = [
'dify-ai',
'mistral',
'me-chama-no-zap',
'qr-code',
] as const
2 changes: 2 additions & 0 deletions packages/forge/schemas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { difyAi } from '@typebot.io/dify-ai-block'
import { mistral } from '@typebot.io/mistral-block'
import { qrCode } from '@typebot.io/qrcode-block'
import { meChamaNoZap } from '@typebot.io/me-chama-no-zap-block'
import { qrCode } from '@typebot.io/qrcode-block'
import { chatNode } from '@typebot.io/chat-node-block'
import { calCom } from '@typebot.io/cal-com-block'
import { zemanticAi } from '@typebot.io/zemantic-ai-block'
Expand All @@ -24,6 +25,7 @@ export const forgedBlocks = [
difyAi,
mistral
meChamaNoZap,
qrCode,
] as BlockDefinition<(typeof enabledBlocks)[number], any, any>[]

export type ForgedBlockDefinition = (typeof forgedBlocks)[number]
Expand Down
25 changes: 25 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a27c240

Please sign in to comment.