import type { UseFormReturn } from "react-hook-form"; import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from "~/client/components/ui/form"; import { Input } from "~/client/components/ui/input"; import type { NotificationFormValues } from "../create-notification-form"; type Props = { form: UseFormReturn; }; export const SlackForm = ({ form }: Props) => { return ( <> ( Webhook URL Get this from your Slack app's Incoming Webhooks settings. )} /> ( Channel (Optional) Override the default channel (use # for channels, @ for users). )} /> ( Bot Username (Optional) )} /> ( Icon Emoji (Optional) )} /> ); };