/**
 * 今日运行
 */
import React from 'react';
import Progress from 'antd/es/progress';

export default function TodayRunJXH(props: any) {
    const { rate, value } = props;

    return (
        <div className="today-run-jxh">
            <div className="today-run-jxh--name"></div>
            <div className="today-run-jxh--progress">
                <Progress
                    strokeLinecap="butt"
                    percent={rate}
                    strokeColor={{
                        '0%': '#46E8C5',
                        '100%': '#55A591',
                    }}
                    trailColor="#444B59"
                    strokeWidth={6}
                    showInfo={false}
                />
            </div>
            <div className="today-run-jxh--value">{value}</div>
        </div>
    );
}
