import { Separator } from 'ui' import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' interface RunQueryWarningModalProps { visible: boolean hasDestructiveOperations: boolean hasUpdateWithoutWhere: boolean onCancel: () => void onConfirm: () => void } export const RunQueryWarningModal = ({ visible, hasDestructiveOperations, hasUpdateWithoutWhere, onCancel, onConfirm, }: RunQueryWarningModalProps) => { return (

Please confirm that you would like to execute this query.

) }