@upyog/upyog-ui-module-ptr 3.0.1 → 3.10.1
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 +71 -0
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
# digit-ui-module-ptr
|
|
3
|
+
|
|
4
|
+
## Install
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm install --save @upyog/digit-ui-module-ptr
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Limitation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
This Package is more specific to DIGIT-UI's can be used across mission's
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
After adding the dependency make sure you have this dependency in
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
frontend/micro-ui/web/package.json
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
"@upyog/digit-ui-module-ptr":"^1.5.0",
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
then navigate to App.js
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
frontend/micro-ui/web/src/App.js
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
```jsx
|
|
36
|
+
/** add this import **/
|
|
37
|
+
|
|
38
|
+
import { initPTRComponents } from "@upyog/digit-ui-module-ptr";
|
|
39
|
+
|
|
40
|
+
/** inside enabledModules add this new module key **/
|
|
41
|
+
|
|
42
|
+
const enabledModules = ["PTR"];
|
|
43
|
+
|
|
44
|
+
/** inside init Function call this function **/
|
|
45
|
+
|
|
46
|
+
const initDigitUI = () => {
|
|
47
|
+
initPTRComponents();
|
|
48
|
+
};
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Changelog
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
1.7.1 UPYOG Base version
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## Documentation
|
|
62
|
+
|
|
63
|
+
Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Published from DIGIT Frontend
|
|
68
|
+
DIGIT Frontend Repo (https://github.com/upyog/UPYOG/tree/develop)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+

|