aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/Timeline.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-04 15:59:23 +0800
committercrupest <crupest@outlook.com>2021-04-04 15:59:23 +0800
commitf2370781ac566e3adf3b5f887bd49b8613bd874b (patch)
tree65e2467b43764323fa27b67fbeebfb959af8086e /FrontEnd/src/app/views/timeline-common/Timeline.tsx
parentaf5d3d86009ff73fded962249cfaf812b001f5bc (diff)
downloadtimeline-f2370781ac566e3adf3b5f887bd49b8613bd874b.tar.gz
timeline-f2370781ac566e3adf3b5f887bd49b8613bd874b.tar.bz2
timeline-f2370781ac566e3adf3b5f887bd49b8613bd874b.zip
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/Timeline.tsx')
-rw-r--r--FrontEnd/src/app/views/timeline-common/Timeline.tsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/Timeline.tsx b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
index 9b67b90b..cbe58300 100644
--- a/FrontEnd/src/app/views/timeline-common/Timeline.tsx
+++ b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
@@ -8,6 +8,7 @@ import {
import { getHttpTimelineClient, HttpTimelinePostInfo } from "@/http/timeline";
import TimelinePagedPostListView from "./TimelinePagedPostListView";
+import TimelineTop from "./TimelineTop";
export interface TimelineProps {
className?: string;
@@ -80,8 +81,13 @@ const Timeline: React.FC<TimelineProps> = (props) => {
switch (posts) {
case "loading":
return (
- <div className={className} style={style}>
- Loading.
+ <div>
+ <TimelineTop
+ lineProps={{
+ center: "loading",
+ startSegmentLength: 56,
+ }}
+ />
</div>
);
case "offline":