type CompressionInputProps = { compression: number; handleCompressionChange: (arg: any) => void; }; export function CompressionInput({ compression, handleCompressionChange, }: CompressionInputProps) { return (

Image Compression ({compression}%)

{compression > 0 && (

PNG compression is not supported at the moment.

)}
); }