mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: close dialog and show toast for copy to clipboard
This commit is contained in:
parent
6d510b888c
commit
4dc975ceb5
1 changed files with 7 additions and 0 deletions
|
@ -1790,6 +1790,13 @@ class App extends React.Component<AppProps, AppState> {
|
|||
: t("toast.fileSaved"),
|
||||
},
|
||||
});
|
||||
} else if (type === "clipboard") {
|
||||
this.setState({
|
||||
openDialog: null,
|
||||
toast: {
|
||||
message: t("toast.copyToClipboard"),
|
||||
},
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue