v.1.0.0. initial push of license-lib

This commit is contained in:
2025-03-19 09:37:30 -05:00
commit b22a1c973c
20 changed files with 433 additions and 0 deletions

11
nextjs/withLicense.js Normal file
View File

@ -0,0 +1,11 @@
// nextjs/withLicense.js
import { LicenseProvider } from '../react/LicenseProvider';
const withLicense = (Component, { userId, licenseKey }) => (props) => (
<LicenseProvider userId={userId} licenseKey={licenseKey}>
<Component {...props} />
</LicenseProvider>
);
export default withLicense;