Add version label.

This commit is contained in:
Jean-Philip Desjardins 2021-12-28 13:52:34 -05:00
parent 4ee520dbf0
commit 4b3a64e193
2 changed files with 11 additions and 0 deletions

View file

@ -36,3 +36,11 @@
transform: rotate(360deg);
}
}
span.version {
position: absolute;
bottom: 0;
left: 0;
color: darkgray;
font-size: smaller;
}

View file

@ -21,6 +21,9 @@ function App() {
return (
<div>
<input type="file" onChange={handleChange}/>
<span className="version">
{`Version: ${process.env.REACT_APP_VERSION}`}
</span>
</div>
);
}