blob: 6943a86f1a2b85d7b87a470eebdbe9dc6edcc8a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import React from "react";
import { convertSecondsToFormattedTime } from "../../../util/date-time";
const TimelineLabelsComponent = ({ currentTick, lastSimulatedTick }) => (
<div className="timeline-labels">
<div className="start-time-label">
{convertSecondsToFormattedTime(currentTick)}
</div>
<div className="end-time-label">
{convertSecondsToFormattedTime(lastSimulatedTick)}
</div>
</div>
);
export default TimelineLabelsComponent;
|