@bookipi/htmlgenerator 1.1.23-alpha3 → 1.1.23-alpha5
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 +3 -25
- package/dist/index.js +9 -1593
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -1593
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @bookipi/
|
|
1
|
+
# @bookipi/bookipi-core
|
|
2
2
|
|
|
3
3
|
> Made with create-react-library
|
|
4
4
|
|
|
@@ -7,13 +7,7 @@
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install --save @bookipi/
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Test
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
yarn test:pages
|
|
10
|
+
npm install --save @bookipi/bookipi-core
|
|
17
11
|
```
|
|
18
12
|
|
|
19
13
|
## Pack
|
|
@@ -48,21 +42,5 @@ yarn start
|
|
|
48
42
|
and in the project where you want to use this package, pls run
|
|
49
43
|
|
|
50
44
|
```bash
|
|
51
|
-
yarn link @bookipi/
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
```jsx
|
|
55
|
-
import React, { Component } from "react";
|
|
56
|
-
|
|
57
|
-
import { InvoiceCompatHtml } from "@bookipi/htmlgenerator";
|
|
58
|
-
|
|
59
|
-
class Example extends Component {
|
|
60
|
-
render() {
|
|
61
|
-
return (
|
|
62
|
-
<div
|
|
63
|
-
dangerouslySetInnerHTML={{ __html: InvoiceCompatHtml(invoice, lang) }}
|
|
64
|
-
/>
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
45
|
+
yarn link @bookipi/bookipi-core
|
|
68
46
|
```
|