Skip to content
Permalink
04f3256066
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
12 lines (11 sloc) 466 Bytes
import React from "react";
export const ParticipantBox = (props) => {
let s = new Date(props.info.start_time);
let e = new Date(props.info.end_time);
return (<div className="part-box">
<div className="part-name">Participant Id: {props.info.user_id}</div>
<div className="part-start">Start Time: {s.toLocaleString()}</div>
<div className="part-end">End Time: {e.toLocaleString()}</div>
</div>);
};
export default ParticipantBox;