1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-13 16:21:08 +01:00
upscayl/renderer/components/RightPaneInfo.tsx
2022-11-25 13:00:03 +05:30

26 lines
703 B
TypeScript

import React from "react";
function RightPaneInfo({ version, batchMode, isVideo }) {
return isVideo ? (
<>
<p className="p-5 pb-1 text-lg font-semibold">Select Video to Upscale</p>
<p className="text-sm">Upscayl v{version}</p>
</>
) : (
<>
<p className="p-5 pb-1 text-lg font-semibold">
Select {batchMode ? "a Folder" : "an Image"} to Upscale
</p>
{batchMode && (
<p className="w-full pb-5 text-center md:w-96">
Make sure that the folder doesn't contain anything except PNG, JPG,
JPEG & WEBP images.
</p>
)}
<p className="text-sm">Upscayl v{version}</p>
</>
);
}
export default RightPaneInfo;