Actionable toasts
This commit is contained in:
parent
d542f450a1
commit
b9134f8332
11 changed files with 148 additions and 59 deletions
|
@ -20,7 +20,13 @@ export const ToastFileSaved = ({
|
|||
onOpenFile,
|
||||
}: PropsType): JSX.Element => {
|
||||
return (
|
||||
<Toast onClick={onOpenFile} onClose={onClose}>
|
||||
<Toast
|
||||
onClose={onClose}
|
||||
toastAction={{
|
||||
label: i18n('attachmentSavedShow'),
|
||||
onClick: onOpenFile,
|
||||
}}
|
||||
>
|
||||
{i18n('attachmentSaved')}
|
||||
</Toast>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue