Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/components/misc/help-email.tsx
1449 views
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