mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
archive ReactApp
This commit is contained in:
17
react_OLD/src/componets/Timeline.js
Normal file
17
react_OLD/src/componets/Timeline.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
|
||||
export default class Timeline extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.items = props.children;
|
||||
this.classes = props.classes;
|
||||
}
|
||||
|
||||
componentDidMount() {}
|
||||
|
||||
render() {
|
||||
return <div className={"timeline " + this.classes}>
|
||||
{this.items}
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user