mirror of
https://github.com/outline/outline.git
synced 2026-11-22 05:51:43 +03:00
25 lines
641 B
TypeScript
25 lines
641 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,
|
|
description:
|
|
"Search your knowledge base directly in Slack, get /outline search, rich link previews, and notifications on new or updated docs.",
|
|
component: createLazyComponent(() => import("./Settings")),
|
|
enabled: () => true,
|
|
},
|
|
},
|
|
{
|
|
...config,
|
|
type: Hook.Icon,
|
|
value: Icon,
|
|
},
|
|
]);
|