diff options
author | crupest <crupest@outlook.com> | 2021-07-07 01:19:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-07-07 01:19:47 +0800 |
commit | cd521b4fca89bebe036b70695f3b45b0cfcc035d (patch) | |
tree | c7ebf089a323232d685dc9f03dbdee0956ea8fb3 /FrontEnd/src/views/timeline-common/PostPropertyChangeDialog.tsx | |
parent | f964adac55f0a231c43a14bf583137763d911bbe (diff) | |
download | timeline-cd521b4fca89bebe036b70695f3b45b0cfcc035d.tar.gz timeline-cd521b4fca89bebe036b70695f3b45b0cfcc035d.tar.bz2 timeline-cd521b4fca89bebe036b70695f3b45b0cfcc035d.zip |
feat: Add dialog animations.
Diffstat (limited to 'FrontEnd/src/views/timeline-common/PostPropertyChangeDialog.tsx')
-rw-r--r-- | FrontEnd/src/views/timeline-common/PostPropertyChangeDialog.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FrontEnd/src/views/timeline-common/PostPropertyChangeDialog.tsx b/FrontEnd/src/views/timeline-common/PostPropertyChangeDialog.tsx index 988124b6..c1dd416c 100644 --- a/FrontEnd/src/views/timeline-common/PostPropertyChangeDialog.tsx +++ b/FrontEnd/src/views/timeline-common/PostPropertyChangeDialog.tsx @@ -5,17 +5,18 @@ import { getHttpTimelineClient, HttpTimelinePostInfo } from "@/http/timeline"; import OperationDialog from "../common/dailog/OperationDialog"; function PostPropertyChangeDialog(props: { + open: boolean; onClose: () => void; post: HttpTimelinePostInfo; onSuccess: (post: HttpTimelinePostInfo) => void; }): React.ReactElement | null { - const { onClose, post, onSuccess } = props; + const { open, onClose, post, onSuccess } = props; return ( <OperationDialog title="timeline.changePostPropertyDialog.title" onClose={onClose} - open + open={open} inputScheme={[ { label: "timeline.changePostPropertyDialog.time", |