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/next/components/misc/help-email.tsx
Views: 687
1
import { useCustomize } from "lib/customize";
2
import A from "components/misc/A";
3
4
export default function HelpEmail({ lower }: { lower?: boolean }) {
5
const { helpEmail } = useCustomize();
6
if (!helpEmail) return null;
7
return (
8
<A href={"mailto:" + helpEmail} external>
9
{lower ? "e" : "E"}mail {helpEmail}
10
</A>
11
);
12
}
13
14