/* * CloudBeaver - Cloud Database Manager * Copyright (C) 2020-2021 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ import styled, { css } from 'reshadow'; import { Button } from '@cloudbeaver/core-blocks'; import { CommonDialogWrapper, DialogComponent } from '@cloudbeaver/core-dialogs'; import { Translate } from '@cloudbeaver/core-localization'; import { useStyles } from '@cloudbeaver/core-theming'; const style = css` footer { align-items: center; } container { width: 100%; display: flex; gap: 16px; } fill { flex: 1; } `; export const ScriptImportDialog: DialogComponent = function ScriptImportDialog({ resolveDialog, rejectDialog, className, }) { return styled(useStyles(style))( )} fixedWidth onReject={rejectDialog} > ); };