CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/frontend/compute/cloud-filesystem/mount-state.tsx
Views: 687
1
import { Icon } from "@cocalc/frontend/components/icon";
2
3
export default function MountState({ cloudFilesystem }) {
4
const { mount } = cloudFilesystem;
5
return (
6
<div style={{ width: "64px" }}>
7
<Icon
8
name={mount ? "play" : "stop"}
9
style={{ fontSize: "25px", color: mount ? "green" : "red" }}
10
/>
11
</div>
12
);
13
}
14
15