@upyog/digit-ui-libraries
v1.8.0
Published
## Install
Downloads
54
Readme
digit-ui-libraries
Install
npm install --save @egovernments/digit-ui-libraries
Limitation
This Package is more specific to DIGIT-UI's can be used across mission's
Usage
After adding the dependency make sure you have this dependency in
frontend/micro-ui/web/package.json
"@upyog/digit-ui-libraries":"1.8.0",
then navigate to App.js
frontend/micro-ui/web/src/App.js
Usage
import React from "react";
import initLibraries from "@upyog/digit-ui-libraries";
import defaultConfig from "./config";
const App = ({ deltaConfig, stateCode, cityCode, moduleCode }) => {
initLibraries();
const store = eGov.Services.useStore(defaultConfig, { deltaConfig, stateCode, cityCode, moduleCode });
return <p>Create React Library Example 😄</p>;
};
export default App;
Changelog
1.7.1 UPYOG Base
Published from DIGIT Frontend
DIGIT Frontend Repo (https://github.com/upyog/UPYOG/tree/develop)
Contributors
[jagankumar-egov] [nipunarora-eGov] [Tulika-eGov] [Ramkrishna-egov] [nabeelmd-eGov] [anil-egov] [vamshikrishnakole-wtt-egov]
License
MIT © jagankumar-egov