import React from "react"; import { Icon as FeatherIcon } from "react-feather"; import { SVGComponent } from "@calcom/types/SVGComponent"; import { Icon } from "@calcom/ui/Icon"; import { Button } from "@calcom/ui/v2"; const workflowsExamples = [ { icon: Icon.FiMail, text: "Send email reminder 24 hours before event starts to host" }, { icon: Icon.FiSmartphone, text: "Send SMS reminder 1 hour before event starts to host" }, { icon: Icon.FiMail, text: "Send custom email when event is cancelled to host" }, { icon: Icon.FiMail, text: "Send email reminder 24 hours before event starts to attendee" }, { icon: Icon.FiSmartphone, text: "Send SMS reminder 1 hour before event starts to attendee" }, { icon: Icon.FiSmartphone, text: "Send custom SMS when event is rescheduled to attendee" }, ]; type WorkflowExampleType = { Icon: FeatherIcon; text: string; }; function WorkflowExample(props: WorkflowExampleType) { const { Icon, text } = props; return (
{description}
{buttonOnClick && buttonText && ( )}