feat(steps): ✨ Add Embed bubble
This commit is contained in:
@ -13,6 +13,7 @@ import {
|
||||
FlagIcon,
|
||||
GlobeIcon,
|
||||
ImageIcon,
|
||||
LayoutIcon,
|
||||
NumberIcon,
|
||||
PhoneIcon,
|
||||
SendEmailIcon,
|
||||
@ -39,6 +40,8 @@ export const StepIcon = ({ type, ...props }: StepIconProps) => {
|
||||
return <ImageIcon color="blue.500" {...props} />
|
||||
case BubbleStepType.VIDEO:
|
||||
return <FilmIcon color="blue.500" {...props} />
|
||||
case BubbleStepType.EMBED:
|
||||
return <LayoutIcon color="blue.500" {...props} />
|
||||
case InputStepType.TEXT:
|
||||
return <TextIcon color="orange.500" {...props} />
|
||||
case InputStepType.NUMBER:
|
||||
|
@ -19,6 +19,12 @@ export const StepTypeLabel = ({ type }: Props) => {
|
||||
return <Text>Image</Text>
|
||||
case BubbleStepType.VIDEO:
|
||||
return <Text>Video</Text>
|
||||
case BubbleStepType.EMBED:
|
||||
return (
|
||||
<Tooltip label="Embed a pdf, an iframe, a website...">
|
||||
<Text>Embed</Text>
|
||||
</Tooltip>
|
||||
)
|
||||
case InputStepType.NUMBER:
|
||||
return <Text>Number</Text>
|
||||
case InputStepType.EMAIL:
|
||||
|
Reference in New Issue
Block a user