Skip to content
Permalink
b2a7d39f87
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
16 lines (15 sloc) 462 Bytes
import React from "react";
export const ParticipantBox = ({
name = "PARTICPANT ID",
start = "10/12",
end = "Present",
miles = 100
}) => (
<div className="part-box">
<div className="part-name">{name}</div>
<div className="part-start">Start Time: {start}</div>
<div className="part-end">End Time:{end}</div>
<div className="part-miles">Total Miles: {miles} mi</div>
</div>
);
export default ParticipantBox;