import { translationAtom } from "@/atoms/translations-atom"; import { useAtomValue } from "jotai"; type ImageFormatSelectProps = { batchMode: boolean; saveImageAs: string; setExportType: (arg: string) => void; }; export function ImageFormatSelect({ batchMode, saveImageAs, setExportType, }: ImageFormatSelectProps) { const t = useAtomValue(translationAtom); return (

{t("APP.INFOS.IMAGE_FORMAT.SAVE_AS")}

{/*

EXPERIMENTAL

*/}
{batchMode &&

}
{/* PNG */} {/* JPG */} {/* WEBP */}
); }