mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-28 01:10:52 +01:00
22 lines
490 B
TypeScript
22 lines
490 B
TypeScript
|
import React from "react";
|
||
|
|
||
|
type GpuIdInputProps = {
|
||
|
gpuId: string;
|
||
|
handleGpuIdChange: (arg: string) => void;
|
||
|
};
|
||
|
|
||
|
export function GpuIdInput({ gpuId, handleGpuIdChange }) {
|
||
|
return (
|
||
|
<div className="flex flex-col gap-2">
|
||
|
<p className="text-sm font-medium">GPU ID</p>
|
||
|
<input
|
||
|
type="text"
|
||
|
placeholder="Type here"
|
||
|
className="input-bordered input w-full max-w-xs"
|
||
|
value={gpuId}
|
||
|
onChange={handleGpuIdChange}
|
||
|
/>
|
||
|
</div>
|
||
|
);
|
||
|
}
|