Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

620 B
Raw Blame
"use client";

import { InstalledIntegrationInfoProps } from "@/lib/types";
import { ConfigureWebhook } from "../../common/ui/configure-webhook";

export const SlackSettings = (props: InstalledIntegrationInfoProps) => {
  const { installed, webhookId } = props;

  return (
    <>
      {installed && webhookId && (
        <ConfigureWebhook
          webhookId={webhookId}
          supportedEvents={[
            "link.created",
            "link.updated",
            "link.deleted",
            "link.clicked",
            "lead.created",
            "sale.created",
          ]}
        />
      )}
    </>
  );
};