|
1 | 1 | import { componentRegistry as cr } from "@/lib"; |
2 | 2 |
|
3 | 3 | export default function initPlugin() { |
4 | | - import("@/lib/plugins/mui/Box").then((m) => cr.register("Box", m.Box)); |
5 | | - import("@/lib/plugins/mui/Button").then((m) => |
6 | | - cr.register("Button", m.Button), |
7 | | - ); |
8 | | - import("@/lib/plugins/mui/Checkbox").then((m) => |
9 | | - cr.register("Checkbox", m.Checkbox), |
10 | | - ); |
11 | | - import("@/lib/plugins/mui/CircularProgress").then((m) => |
12 | | - cr.register("CircularProgress", m.CircularProgress), |
13 | | - ); |
14 | | - import("@/lib/plugins/mui/IconButton").then((m) => |
15 | | - cr.register("IconButton", m.IconButton), |
16 | | - ); |
17 | | - import("@/lib/plugins/mui/Select").then((m) => |
18 | | - cr.register("Select", m.Select), |
19 | | - ); |
20 | | - import("@/lib/plugins/mui/Typography").then((m) => |
21 | | - cr.register("Typography", m.Typography), |
22 | | - ); |
| 4 | + import("./Box").then((m) => cr.register("Box", m.Box)); |
| 5 | + import("./Button").then((m) => cr.register("Button", m.Button)); |
| 6 | + import("./Checkbox").then((m) => cr.register("Checkbox", m.Checkbox)); |
| 7 | + import("./CircularProgress").then((m) => |
| 8 | + cr.register("CircularProgress.ts", m.CircularProgress), |
| 9 | + ); |
| 10 | + import("./IconButton").then((m) => cr.register("IconButton", m.IconButton)); |
| 11 | + import("./Select").then((m) => cr.register("Select", m.Select)); |
| 12 | + import("./Typography").then((m) => cr.register("Typography", m.Typography)); |
23 | 13 | } |
0 commit comments