mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 20:06:00 +00:00
open import/export tab function
This commit is contained in:
14
packages/web/src/utility/importExportTools.ts
Normal file
14
packages/web/src/utility/importExportTools.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import openNewTab from './openNewTab';
|
||||
|
||||
export function openImportExportTab(editorProps) {
|
||||
openNewTab(
|
||||
{
|
||||
tabComponent: 'ImportExportTab',
|
||||
title: 'Import/Export',
|
||||
icon: 'img export',
|
||||
},
|
||||
{
|
||||
editor: editorProps,
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user