You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homepage/src/widgets/openwrt/component.jsx

10 lines
261 B

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