feat(engine): ✨ Link typebot step
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { IconProps } from '@chakra-ui/react'
|
||||
import {
|
||||
BoxIcon,
|
||||
CalendarIcon,
|
||||
ChatIcon,
|
||||
CheckSquareIcon,
|
||||
@ -60,6 +61,8 @@ export const StepIcon = ({ type, ...props }: StepIconProps) => {
|
||||
return <ExternalLinkIcon color="purple.500" {...props} />
|
||||
case LogicStepType.CODE:
|
||||
return <CodeIcon color="purple.500" {...props} />
|
||||
case LogicStepType.TYPEBOT_LINK:
|
||||
return <BoxIcon color="purple.500" {...props} />
|
||||
case IntegrationStepType.GOOGLE_SHEETS:
|
||||
return <GoogleSheetsLogo {...props} />
|
||||
case IntegrationStepType.GOOGLE_ANALYTICS:
|
||||
|
@ -43,6 +43,12 @@ export const StepTypeLabel = ({ type }: Props) => {
|
||||
<Text>Code</Text>
|
||||
</Tooltip>
|
||||
)
|
||||
case LogicStepType.TYPEBOT_LINK:
|
||||
return (
|
||||
<Tooltip label="Link to another of your typebots">
|
||||
<Text>Typebot</Text>
|
||||
</Tooltip>
|
||||
)
|
||||
case IntegrationStepType.GOOGLE_SHEETS:
|
||||
return (
|
||||
<Tooltip label="Google Sheets">
|
||||
|
Reference in New Issue
Block a user