/** * Entry point: Licence settings tab. * Mounts into #pdfib-licence-root. * The mount div sits inside the PHP
, so form inputs are * naturally submitted with the existing settings form flow. */ import React from 'react'; import { createRoot } from 'react-dom/client'; import LicencePage from '../react/components/admin/LicencePage'; document.addEventListener('DOMContentLoaded', () => { const container = document.getElementById('pdfib-licence-root'); if (!container) return; createRoot(container).render(); });