paged-react 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,9 @@ Import the components and the package stylesheet once in your app.
15
15
  ```tsx
16
16
  import { Document, PageBreak, pageSizes } from "paged-react";
17
17
  import "paged-react/styles.css";
18
- // The package imports its base CSS from the main entry. If your bundler does not load library CSS side effects, import `paged-react/styles.css` manually.
18
+ // The package imports its base CSS from the main entry.
19
+ // If your bundler does not load library CSS side effects,
20
+ // then import `paged-react/styles.css` manually.
19
21
 
20
22
  export function Report() {
21
23
  return (
@@ -54,7 +56,8 @@ export function Report() {
54
56
 
55
57
  ```tsx
56
58
  import { useRef } from "react";
57
- import { useReactToPrint } from "react-to-print"; // npm i react-to-print
59
+ // npm i react-to-print
60
+ import { useReactToPrint } from "react-to-print";
58
61
  import { Document, pageSizes } from "paged-react";
59
62
  import "paged-react/styles.css";
60
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paged-react",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "React components for print-ready documents with automatic pagination.",
5
5
  "type": "module",
6
6
  "license": "MIT",