import {UseFormReturn} from "react-hook-form"; import {FormControl, FormField, FormItem, FormLabel, FormMessage} from "@/components/ui/form"; import {Input} from "@/components/ui/input"; import {Separator} from "@/components/ui/separator"; import {PasswordInput} from "@/components/ui/password-input"; type NotifierNtfyFormProps = { form: UseFormReturn } export const NotifierNtfyForm = ({form}: NotifierNtfyFormProps) => { return ( <> ( Topic Name * )} /> ( Server URL

Leave empty to use the official ntfy.sh server.

)} /> ( Access Token

Only required for protected topics or self-hosted instances with auth.

)} /> ( Basic Auth Username )} /> ( Basic Auth Password )} /> ) }