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