diff options
| author | crupest <crupest@outlook.com> | 2021-01-13 17:14:34 +0800 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 17:14:34 +0800 | 
| commit | a23b8af0b06be2ab58d1831a0a25a30d934ec1e2 (patch) | |
| tree | 7cb86b62d0e36adc4ce356d7986ff695bc244417 /FrontEnd/src/app/views/timeline-common/TimelineTop.tsx | |
| parent | 717b6d87a133ce39b302176b35918892bcc01894 (diff) | |
| parent | 4a633a0f83a3a7cf18feead821fcdff2453de926 (diff) | |
| download | timeline-a23b8af0b06be2ab58d1831a0a25a30d934ec1e2.tar.gz timeline-a23b8af0b06be2ab58d1831a0a25a30d934ec1e2.tar.bz2 timeline-a23b8af0b06be2ab58d1831a0a25a30d934ec1e2.zip  | |
Merge pull request #209 from crupest/front-dev
Front development.
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelineTop.tsx')
| -rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelineTop.tsx | 8 | 
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>    );  | 
