From ac769e656b122ff569c3f1534701b71e00fed586 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Oct 2020 19:21:35 +0800 Subject: Split front and back end. --- .../src/app/views/timeline-common/TimelineTop.tsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 FrontEnd/src/app/views/timeline-common/TimelineTop.tsx (limited to 'FrontEnd/src/app/views/timeline-common/TimelineTop.tsx') diff --git a/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx b/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx new file mode 100644 index 00000000..93a2a32c --- /dev/null +++ b/FrontEnd/src/app/views/timeline-common/TimelineTop.tsx @@ -0,0 +1,21 @@ +import React from "react"; + +export interface TimelineTopProps { + height?: number | string; + children?: React.ReactElement; +} + +const TimelineTop: React.FC = ({ height, children }) => { + return ( +
+
+
+
+
+
+ {children} +
+ ); +}; + +export default TimelineTop; -- cgit v1.2.3