diff options
author | crupest <crupest@outlook.com> | 2020-12-21 17:33:16 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-12-21 17:33:16 +0800 |
commit | 620e547b373368501970e4521dca5d8fed43fb92 (patch) | |
tree | 4523a25fc7c5d243882570ced277929764636194 /FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | |
parent | 898f7bf50243cc6f25b9368b873c8bdcd230400e (diff) | |
download | timeline-620e547b373368501970e4521dca5d8fed43fb92.tar.gz timeline-620e547b373368501970e4521dca5d8fed43fb92.tar.bz2 timeline-620e547b373368501970e4521dca5d8fed43fb92.zip |
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx index f60383dd..b7cd4a45 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx @@ -15,6 +15,8 @@ export interface TimelineCardComponentProps<TManageItems> { timeline: TimelineInfo; onManage?: (item: TManageItems | "property") => void; onMember: () => void; + onBookmark?: () => void; + onHighlight?: () => void; className?: string; collapse: boolean; syncStatus: TimelineSyncStatus; @@ -28,6 +30,7 @@ export interface TimelinePageTemplateUIProps<TManageItems> { posts?: TimelinePostInfoEx[]; onManage?: (item: TManageItems | "property") => void; onMember: () => void; + onBookmark?: () => void; onPost?: TimelinePostSendCallback; } | I18nText; @@ -153,6 +156,7 @@ export default function TimelinePageTemplateUI<TManageItems>( timeline={data.timeline} onManage={data.onManage} onMember={data.onMember} + onBookmark={data.onBookmark} syncStatus={syncStatus} collapse={cardCollapse} toggleCollapse={toggleCardCollapse} |