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/account/config/index.tsx
Views: 687
1
import { components } from "./register";
2
3
import "./search/component";
4
5
import "./account/name";
6
import "./account/email";
7
import "./account/password";
8
import "./account/avatar";
9
import "./account/sso";
10
11
import "./account/api";
12
import "./account/delete-account";
13
import "./account/sign-out";
14
15
import "./editor/appearance";
16
import "./editor/jupyter";
17
import "./editor/terminal";
18
import "./editor/options";
19
20
import "./system/appearance";
21
import "./system/behavior";
22
import "./system/listings";
23
import "./system/ai";
24
25
interface Props {
26
main: string;
27
sub: string;
28
}
29
30
export default function Config({ main, sub }: Props) {
31
const C = components[main]?.[sub] as any;
32
if (C != null) {
33
return <C />;
34
}
35
return null;
36
}
37
38