feat: add confirmation dialog for imports (#11983)

* feat: add confirmation dialog for imports

* Small fixes

* Clean return
This commit is contained in:
Beto Dealmeida
2020-12-11 17:23:43 -08:00
committed by GitHub
parent 696308715d
commit 9277a54a12
7 changed files with 129 additions and 37 deletions

View File

@@ -34,6 +34,7 @@ const requiredProps = {
resourceLabel: 'database',
icon: <StyledIcon name="database" />,
passwordsNeededMessage: 'Passwords are needed',
confirmOverwriteMessage: 'Database exists',
addDangerToast: () => {},
addSuccessToast: () => {},
onModelImport: () => {},