mirror of
https://github.com/outline/outline.git
synced 2026-11-25 07:04:37 +03:00
26 lines
645 B
TypeScript
26 lines
645 B
TypeScript
import { createLazyComponent } from "~/components/LazyLoad";
|
|
import { PluginManager, Hook } from "~/utils/PluginManager";
|
|
import { KeyIcon } from "outline-icons";
|
|
import config from "../plugin.json";
|
|
|
|
PluginManager.add([
|
|
{
|
|
...config,
|
|
type: Hook.Icon,
|
|
value: KeyIcon,
|
|
},
|
|
{
|
|
...config,
|
|
type: Hook.Settings,
|
|
value: {
|
|
group: "Account",
|
|
after: "Notifications",
|
|
icon: KeyIcon,
|
|
description:
|
|
"Manage your passkeys for passwordless authentication using biometrics or security keys.",
|
|
component: createLazyComponent(() => import("./Settings")),
|
|
enabled: () => true,
|
|
},
|
|
},
|
|
]);
|