Added a placeholder to the Encoder.jsx

This commit is contained in:
Mathias Wagner 2023-05-31 01:35:12 +02:00
parent 141572f1ba
commit 0e2bbe0a46
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -35,7 +35,8 @@ export const Encoder = () => {
<div className="base64-encoder"> <div className="base64-encoder">
<h2>Eingabe-Text</h2> <h2>Eingabe-Text</h2>
<TextArea value={inputString} onChange={(e) => setInputString(e.target.value)} /> <TextArea value={inputString} onChange={(e) => setInputString(e.target.value)}
placeholder="Gib hier den Text ein, den du kodieren möchtest" />
{outputString !== "" && <> {outputString !== "" && <>
<h2>Ausgabe-Text</h2> <h2>Ausgabe-Text</h2>