import Dialog from '@elementor/ui/Dialog'; import DialogActions from '@elementor/ui/DialogActions'; import DialogContent from '@elementor/ui/DialogContent'; import DialogContentText from '@elementor/ui/DialogContentText'; import DialogHeader from '@elementor/ui/DialogHeader'; import DialogTitle from '@elementor/ui/DialogTitle'; import Button from '@elementor/ui/Button'; import Typography from '@elementor/ui/Typography'; import { __ } from '@wordpress/i18n'; export const DialogModal = ( { onClose, approveButtonText, approveButtonOnClick, approveButtonUrl, title, text, isLoading, }, ) => { return ( onClose() }> { title } { text } ); };