/**
 * 监测-报警信息
 */
import React from 'react';
import Summary from './Summary';
import MonthTrend from './MonthTrend';
import AlarmRecord from './AlarmRecord';
import './index.less';

interface AlarmInfoProps {
    id: string;
}

const AlarmInfo: React.FC<AlarmInfoProps> = props => {
    const { id } = props;
    return (
        <div className="wr-alarm">
            <div className="wr-alarm-head">
                <Summary id={id} />
                <MonthTrend id={id} />
            </div>
            <AlarmRecord id={id} />
        </div>
    );
};

export default AlarmInfo;
