aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-13 14:13:02 +0800
committercrupest <crupest@outlook.com>2021-01-13 14:13:02 +0800
commit12e12dff4fb83e125a47b62a2c4be335363de089 (patch)
treeb41d31af16021965f000f7000e0d73710371ea70 /FrontEnd/src/app/views/timeline-common/TimelineTop.tsx
parentcf14e89a51919e053ba89b0c78ee71940b18e40a (diff)
downloadtimeline-12e12dff4fb83e125a47b62a2c4be335363de089.tar.gz
timeline-12e12dff4fb83e125a47b62a2c4be335363de089.tar.bz2
timeline-12e12dff4fb83e125a47b62a2c4be335363de089.zip
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelineTop.tsx')
-rw-r--r--FrontEnd/src/app/views/timeline-common/TimelineTop.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx b/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx
index 93a2a32c..39cfa426 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx
@@ -1,5 +1,7 @@
import React from "react";
+import TimelineLine from "./TimelineLine";
+
export interface TimelineTopProps {
height?: number | string;
children?: React.ReactElement;
@@ -8,11 +10,7 @@ export interface TimelineTopProps {
const TimelineTop: React.FC<TimelineTopProps> = ({ height, children }) => {
return (
<div style={{ height: height }} className="timeline-top">
- <div className="timeline-line-area-container">
- <div className="timeline-line-area">
- <div className="timeline-line-segment"></div>
- </div>
- </div>
+ <TimelineLine center={null} />
{children}
</div>
);