%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/dopla/www/wp-content/plugins/ml-slider/extendify-sdk/src/components/modals/
Upload File :
Create Path :
Current File : /home/dopla/www/wp-content/plugins/ml-slider/extendify-sdk/src/components/modals/SettingsModal.js

import { useRef } from '@wordpress/element'
import { __ } from '@wordpress/i18n'
import LoginInterface from '../LoginInterface'
import { Modal } from './Modal'

export default function SettingsModal({ isOpen, onClose }) {
    const initialFocus = useRef(null)

    return (
        <Modal
            heading={__('Settings', 'extendify-sdk')}
            isOpen={isOpen}
            ref={initialFocus}
            onRequestClose={onClose}>
            <div className="flex p-6 justify-center">
                <LoginInterface
                    initialFocus={initialFocus}
                    actionCallback={onClose}
                />
            </div>
        </Modal>
    )
}

Zerion Mini Shell 1.0