v.1.0.0. initial push of license-lib
This commit is contained in:
8
react/useLicense.js
Normal file
8
react/useLicense.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// react/useLicense.js
|
||||
|
||||
import { useContext } from 'react';
|
||||
import { LicenseContext } from './LicenseProvider';
|
||||
|
||||
const useLicense = () => useContext(LicenseContext);
|
||||
|
||||
export default useLicense;
|
Reference in New Issue
Block a user