1.7.1 • Published 2 months ago

@upyog/digit-ui-libraries v1.7.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

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
"@egovernments/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 "@egovernments/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/egovernments/UPYOG/tree/develop)

Contributors

jagankumar-egov Tulika-eGov nabeelmd-eGov vamshikrishnakole-wtt-egov

License

MIT © jagankumar-egov

Logo