import React, { Component } from "react";
import * as ReactDom from "react-dom/client";
import menu from "./menu";

interface SystemMonitorComponentState {
}

interface SystemMonitorComponentProps {
}

export class SystemMonitorComponent extends Component<SystemMonitorComponentProps, SystemMonitorComponentState> {
    public constructor(props: SystemMonitorComponentProps) {
        super(props);

        this.state = {
        };
        menu.addFilterEventListener(() => {
            this.refreshFilter();
        });
    }

    private refreshFilter() {
    }

    public render(): React.JSX.Element {
        return (<>
            test
            </>);
    }

    public static async renderMultiple(container: HTMLElement) {
        ReactDom.createRoot(container).render(<SystemMonitorComponent />);
    }
}

