[ Root System Explorer ]
Location:
Root
/
home
/
svaxkys
/
www
/
AcmaCulot
/
wp-content
/
plugins
/
redux-framework
/
extendify-sdk
/
src
/
pages
/
modals
+ Folder
+ File
Upload
Editing: WaitingCrunchingModal.js
import { Button, Modal } from '@wordpress/components' import { useEffect } from '@wordpress/element' import { __ } from '@wordpress/i18n' export default function WaitingCrunchingModal({ action, callback, text }) { useEffect(() => { action.then(async () => await callback()) }) // Currently this is just a basic WP modal that is invoked/rendered outside of the // application, but could instead act as a mediary page that renderes within. It's // just not yet used there at this time. return <Modal title={text} isDismissible={false}> <Button style={{ width: '100%', }} disabled isPrimary isBusy onClick={() => {}}> {__('Please wait...', 'extendify-sdk')} </Button> </Modal> }
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 WaitingCrunchingModal.js
FILE
Ren
[EDIT]
DEL