REFACTORING: ScriptEditor (#560)

This commit is contained in:
Aleksei Bezrodnov
2023-06-03 19:55:25 +02:00
committed by GitHub
parent 886f402a43
commit 99954ebd1e
11 changed files with 695 additions and 491 deletions
+28
View File
@@ -0,0 +1,28 @@
import React from "react";
import Typography from "@mui/material/Typography";
import { Settings } from "../../Settings/Settings";
export function NoOpenScripts() {
return (
<div
style={{
display: "flex",
height: "100%",
width: "100%",
justifyContent: "center",
alignItems: "center",
}}
>
<span style={{ color: Settings.theme.primary, fontSize: "20px", textAlign: "center" }}>
<Typography variant="h4">No open files</Typography>
<Typography variant="h5">
Use <code>nano FILENAME</code> in
<br />
the terminal to open files
</Typography>
</span>
</div>
);
}