Files
outline/plugins/googleanalytics/client/index.tsx

17 lines
393 B
TypeScript

import { createLazyComponent } from "~/components/LazyLoad";
import { Hook, PluginManager } from "~/utils/PluginManager";
import config from "../plugin.json";
import Icon from "./Icon";
PluginManager.add([
{
...config,
type: Hook.Settings,
value: {
group: "Integrations",
icon: Icon,
component: createLazyComponent(() => import("./Settings")),
},
},
]);