Feature: OpenWRT service widget (#2782)

* Feat: OpenWRT widget implementation

* Update proxy.js

* fixes from review

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Dan Geraghty
2024-01-29 20:33:31 +00:00
committed by GitHub
parent d20cdbb9ab
commit 86740c6d7b
10 changed files with 280 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import Interface from "./methods/interface";
import System from "./methods/system";
export default function Component({ service }) {
if (service.widget.interfaceName) {
return <Interface service={service} />;
}
return <System service={service} />;
}