components
5 months ago
add-v2form.tsx
1 year ago
admin-donation-forms.tsx
1 year ago
colors.scss
2 years ago
edit-v2form.tsx
1 year ago
add-v2form.tsx
15 lines
| 1 | import {StrictMode} from 'react'; |
| 2 | import {createRoot} from 'react-dom/client'; |
| 3 | import './colors.scss'; |
| 4 | import AddForm from './components/Onboarding/Components/AddForm'; |
| 5 | |
| 6 | const appContainer = document.createElement('div'); |
| 7 | const target = document.querySelector('.wp-header-end'); |
| 8 | target.parentNode.insertBefore(appContainer, target); |
| 9 | |
| 10 | createRoot(appContainer).render( |
| 11 | <StrictMode> |
| 12 | <AddForm /> |
| 13 | </StrictMode> |
| 14 | ); |
| 15 |