23 lines
620 B
TypeScript
23 lines
620 B
TypeScript
import { WidgetDefinition } from "@site/src/types";
|
|
import { IconTopologyFull } from "@tabler/icons-react";
|
|
|
|
export const networkControllerStatusWidget: WidgetDefinition = {
|
|
icon: IconTopologyFull,
|
|
name: "Network Status",
|
|
description: "Display connected devices on a network",
|
|
path: "../../widgets/network-controller-status",
|
|
configuration: {
|
|
items: [
|
|
{
|
|
name: "Widget Content",
|
|
description: "Select the type to display in the widget",
|
|
values: {
|
|
type: "select",
|
|
options: ["Wired", "Wi-Fi"],
|
|
},
|
|
defaultValue: "Wi-Fi",
|
|
},
|
|
],
|
|
},
|
|
};
|