PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 0.0.3
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v0.0.3
2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 0.0.2 0.0.3 All 96 releases
sureforms / src / admin / dashboard / index.js
index.js
21 lines 442 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import '@surecart/components/src/themes/base.css';
2 import { createRoot } from '@wordpress/element';
3 import Dashboard from './Dashboard';
4
5 const APP = () => {
6 return (
7 <Dashboard />
8 );
9 };
10
11 ( function () {
12 const app = document.getElementById( 'srfm-dashboard-container' );
13
14 document.addEventListener( 'DOMContentLoaded', function () {
15 if ( null !== app ) {
16 const root = createRoot( app );
17 root.render( <APP /> );
18 }
19 } );
20 }() );
21