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"; import { Switch } from "@/components/ui/switch"; type StorageS3FormProps = { form: UseFormReturn; }; export const StorageS3Form = ({ form }: StorageS3FormProps) => { return ( <> ( Endpoint URL * )} /> ( Region )} /> ( Access Key * )} /> ( Secret Key * )} /> ( Bucket name * )} /> ( Port )} /> ( Use SSL )} /> ); };