react-ink-scripter 0.0.9 → 0.0.10

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.
@@ -37,7 +37,8 @@ export type ContentTableItem = {
37
37
  body?: ContentTableCellItem[][];
38
38
  foot?: ContentTableCellItem[];
39
39
  };
40
- export type ContentType = (ContentTitleItem | ContentContainerItem | ContentTableItem | ContentTextItem | ContentFieldItem)[];
40
+ export type ContentItemType = ContentTitleItem | ContentContainerItem | ContentTableItem | ContentTextItem | ContentFieldItem;
41
+ export type ContentType = ContentItemType[];
41
42
  export type ReactInkScripterProps = {
42
43
  value?: ContentType;
43
44
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ink-scripter",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "a react component for generate page to print",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",