blob: 39cfa426f68eae07f6d469d877c46ae8bc893821 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import React from "react";
import TimelineLine from "./TimelineLine";
export interface TimelineTopProps {
height?: number | string;
children?: React.ReactElement;
}
const TimelineTop: React.FC<TimelineTopProps> = ({ height, children }) => {
return (
<div style={{ height: height }} className="timeline-top">
<TimelineLine center={null} />
{children}
</div>
);
};
export default TimelineTop;
|