✨ Add Next.js embed library
This commit is contained in:
16
packages/embeds/nextjs/src/index.ts
Normal file
16
packages/embeds/nextjs/src/index.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import dynamic from 'next/dynamic'
|
||||
|
||||
export const Standard = dynamic(
|
||||
() => import('@typebot.io/react/src/Standard'),
|
||||
{ ssr: false }
|
||||
)
|
||||
|
||||
export const Popup = dynamic(() => import('@typebot.io/react/src/Popup'), {
|
||||
ssr: false,
|
||||
})
|
||||
|
||||
export const Bubble = dynamic(() => import('@typebot.io/react/src/Bubble'), {
|
||||
ssr: false,
|
||||
})
|
||||
|
||||
export * from '@typebot.io/js'
|
Reference in New Issue
Block a user