@egovernments/digit-ui-libraries

1.8.1 • Public • Published

digit-ui-svg-components

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.8.1 Added logoutRedirectURL for mgramseva workbench
1.8.0 Released as part of workbench v1.0

Published from DIGIT Frontend

DIGIT Frontend Repo (https://github.com/egovernments/Digit-Frontend/tree/master)

Contributors

[jagankumar-egov] [nipunarora-eGov] [Tulika-eGov] [Ramkrishna-egov] [nabeelmd-eGov] [anil-egov] [vamshikrishnakole-wtt-egov]

License

MIT © jagankumar-egov

Logo

Package Sidebar

Install

npm i @egovernments/digit-ui-libraries

Weekly Downloads

300

Version

1.8.1

License

MIT

Unpacked Size

627 kB

Total Files

3

Last publish

Collaborators

  • nipunarora-egov
  • sathishp-egov
  • jagankumar-egov