2
0

feat(editor): Add send email integration

This commit is contained in:
Baptiste Arnaud
2022-02-07 18:06:37 +01:00
parent f4336b83cc
commit d6238b3474
48 changed files with 2119 additions and 2606 deletions

View File

@ -13,6 +13,7 @@ import {
ImageIcon,
NumberIcon,
PhoneIcon,
SendEmailIcon,
TextIcon,
WebhookIcon,
} from 'assets/icons'
@ -61,7 +62,9 @@ export const StepIcon = ({ type, ...props }: StepIconProps) => {
case IntegrationStepType.GOOGLE_ANALYTICS:
return <GoogleAnalyticsLogo {...props} />
case IntegrationStepType.WEBHOOK:
return <WebhookIcon />
return <WebhookIcon {...props} />
case IntegrationStepType.EMAIL:
return <SendEmailIcon {...props} />
case 'start':
return <FlagIcon {...props} />
default:

View File

@ -51,6 +51,8 @@ export const StepTypeLabel = ({ type }: Props) => {
)
case IntegrationStepType.WEBHOOK:
return <Text>Webhook</Text>
case IntegrationStepType.EMAIL:
return <Text>Email</Text>
default:
return <></>
}