diff options
author | crupest <crupest@outlook.com> | 2022-04-30 23:02:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-04-30 23:02:44 +0800 |
commit | 5a095290db9abf5f8e9528ef4f56c0b974231ad1 (patch) | |
tree | e5100870518af9dbce285f9c7cd0099c5b6b2865 /FrontEnd/src/views/timeline/TimelinePostView.tsx | |
parent | fff1a785aad30ebc9e96bbf973c7916143193b36 (diff) | |
download | timeline-5a095290db9abf5f8e9528ef4f56c0b974231ad1.tar.gz timeline-5a095290db9abf5f8e9528ef4f56c0b974231ad1.tar.bz2 timeline-5a095290db9abf5f8e9528ef4f56c0b974231ad1.zip |
...
Diffstat (limited to 'FrontEnd/src/views/timeline/TimelinePostView.tsx')
-rw-r--r-- | FrontEnd/src/views/timeline/TimelinePostView.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/FrontEnd/src/views/timeline/TimelinePostView.tsx b/FrontEnd/src/views/timeline/TimelinePostView.tsx index 8a4da9ab..ca6ee2c5 100644 --- a/FrontEnd/src/views/timeline/TimelinePostView.tsx +++ b/FrontEnd/src/views/timeline/TimelinePostView.tsx @@ -14,6 +14,7 @@ import ConfirmDialog from "../common/dailog/ConfirmDialog"; import TimelineLine from "./TimelineLine"; import TimelinePostContentView from "./TimelinePostContentView"; import PostPropertyChangeDialog from "./PostPropertyChangeDialog"; +import IconButton from "../common/button/IconButton"; export interface TimelinePostViewProps { post: HttpTimelinePostInfo; @@ -70,8 +71,10 @@ const TimelinePostView: React.FC<TimelinePostViewProps> = (props) => { style={cardStyle} > {post.editable ? ( - <i - className="bi-chevron-down icon-button primary-enhance cru-float-right" + <IconButton + icon="chevron-down" + color="primary-enhance" + className="cru-float-right" onClick={(e) => { setOperationMaskVisible(true); e.stopPropagation(); |