2
0

feat(steps): Add Embed bubble

This commit is contained in:
Baptiste Arnaud
2022-03-23 12:01:35 +01:00
parent c01ffa3f0b
commit 953b95d254
15 changed files with 296 additions and 16 deletions

View File

@ -34,6 +34,7 @@ import {
ItemType,
defaultConditionContent,
defaultSendEmailOptions,
defaultEmbedBubbleContent,
} from 'models'
import { Typebot } from 'models'
import useSWR from 'swr'
@ -250,6 +251,8 @@ const parseDefaultContent = (type: BubbleStepType): BubbleStepContent => {
return defaultImageBubbleContent
case BubbleStepType.VIDEO:
return defaultVideoBubbleContent
case BubbleStepType.EMBED:
return defaultEmbedBubbleContent
}
}