@mseva/digit-ui-libraries 1.1.44 → 1.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -32
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# digit-ui-libraries
|
|
2
|
-
|
|
3
|
-
> Made with @egovernments/create-ui-library
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install --save @mseva/digit-ui-libraries
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```jsx
|
|
14
|
-
import React from "react";
|
|
15
|
-
import initLibraries from "@mseva/digit-ui-libraries";
|
|
16
|
-
|
|
17
|
-
import defaultConfig from "./config";
|
|
18
|
-
|
|
19
|
-
const App = ({ deltaConfig, stateCode, cityCode, moduleCode }) => {
|
|
20
|
-
initLibraries();
|
|
21
|
-
|
|
22
|
-
const store = eGov.Services.useStore(defaultConfig, { deltaConfig, stateCode, cityCode, moduleCode });
|
|
23
|
-
|
|
24
|
-
return <p>Create React Library Example 😄</p>;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export default App;
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## License
|
|
31
|
-
|
|
32
|
-
MIT © [](https://github.com/)
|
|
1
|
+
# digit-ui-libraries
|
|
2
|
+
|
|
3
|
+
> Made with @egovernments/create-ui-library
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install --save @mseva/digit-ui-libraries
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```jsx
|
|
14
|
+
import React from "react";
|
|
15
|
+
import initLibraries from "@mseva/digit-ui-libraries";
|
|
16
|
+
|
|
17
|
+
import defaultConfig from "./config";
|
|
18
|
+
|
|
19
|
+
const App = ({ deltaConfig, stateCode, cityCode, moduleCode }) => {
|
|
20
|
+
initLibraries();
|
|
21
|
+
|
|
22
|
+
const store = eGov.Services.useStore(defaultConfig, { deltaConfig, stateCode, cityCode, moduleCode });
|
|
23
|
+
|
|
24
|
+
return <p>Create React Library Example 😄</p>;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default App;
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT © [](https://github.com/)
|