import {
createElement,
Component,
createRef,
useState,
useEffect,
useRef,
} from '@wordpress/element'
import { __, sprintf } from 'ct-i18n'
import $ from 'jquery'
const Notification = ({ initialStatus, url, pluginUrl, pluginLink }) => {
const [pluginStatus, setPluginStatus] = useState('installed')
const [isLoading, setIsLoading] = useState(false)
const containerEl = useRef(null)
useEffect(() => {
setPluginStatus(initialStatus)
}, [])
return (
{__('Thanks for installing Blocksy, you rock!', 'blocksy')}
Blocksy Companion plugin.
This way you will have access to custom extensions, demo templates and many other awesome features.',
'blocksy'
),
}}
/>
{null && pluginStatus === 'uninstalled' && (
{__('Download Blocksy Companion', 'blocksy')}
)}
{__('Why you need Blocksy Companion?', 'blocksy')}
)
}
export default Notification