1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-13 08:11:11 +01:00
upscayl/renderer/components/RightPaneInfo.tsx
Aaron Liu 54b3c38d56
Update RightPaneInfo.tsx
Upscale→Upscayl
2023-06-18 11:50:24 -04:00

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 Upscayl</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 Upscayl
</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;