/**
 * 公厕-监测信息
 */
import React from 'react';
import RealtimeInfo from './RealtimeInfo';
import MonitorInfo from './MonitorInfo';
import './index.less';

export interface MonitorTypeProps {
    id: string;
}

const Monitor: React.FC<MonitorTypeProps> = props => {
    const { id } = props;
    return (
        <div className="wr-monitor">
            <RealtimeInfo id={id} />
            <MonitorInfo id={id} />
        </div>
    );
};

export default Monitor;
