archive ReactApp

This commit is contained in:
2023-01-28 13:02:29 -06:00
parent c82606319c
commit 87833551a6
74 changed files with 2809 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
import React from "react";
export default class TimeItem extends React.Component {
constructor(props) {
super(props);
this.date = props.date;
this.classes = props.classes;
this.item = (
<>
<h2>{props.title}</h2>
<div className="timeline-deets">
<p>{props.children}</p>
</div>
</>
);
}
render() {
return <div className={"timeitem " + this.classes}><p className="datetext">{this.date}</p><div className="timeline-item">{this.item}</div></div>;
}
}