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 { SecretInput } from "~/client/components/ui/secret-input"; import type { NotificationFormValues } from "../create-notification-form"; type Props = { form: UseFormReturn; }; export const GotifyForm = ({ form }: Props) => { return ( <> ( Server URL Your self-hosted Gotify server URL. )} /> ( App Token Application token from Gotify. )} /> ( Priority field.onChange(Number(e.target.value))} /> Priority level (0-10, where 10 is highest). )} /> ( Path (Optional) Custom path on the Gotify server, if applicable. )} /> ); };