Co-authored-by: Lokesh-Kumar-Dudi <lkumardudi@gmail.com> Co-authored-by: Thomas Camlong <thomas@ajnart.fr>
15 lines
513 B
TypeScript
15 lines
513 B
TypeScript
import { IconShieldLock } from "@tabler/icons-react";
|
|
|
|
import { getIntegrationKindsByCategory } from "@homarr/definitions";
|
|
|
|
import { createWidgetDefinition } from "../definition";
|
|
import { optionsBuilder } from "../options";
|
|
|
|
export const { componentLoader, definition } = createWidgetDefinition("vpn", {
|
|
icon: IconShieldLock,
|
|
createOptions() {
|
|
return optionsBuilder.from(() => ({}));
|
|
},
|
|
supportedIntegrations: getIntegrationKindsByCategory("vpn"),
|
|
}).withDynamicImport(() => import("./component"));
|