Files
homepage/src/widgets/openwrt/component.jsx
Dan Geraghty 86740c6d7b 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>
2024-01-29 12:33:31 -08:00

10 lines
261 B
JavaScript

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} />;
}