import { Control, Controller } from "react-hook-form"; // ui import { ToggleSwitch } from "@plane/ui"; // types import { IWebhook } from "types/webhook"; interface IWebHookToggle { control: Control; } export const WebhookToggle = ({ control }: IWebHookToggle) => (
Enable webhook
( { onChange(val); }} size="sm" /> )} />
);