react-markdown-table-ts 0.1.3 → 0.1.5

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.
@@ -23,7 +23,7 @@ export interface MarkdownTableProps {
23
23
  * The entire table data as a two-dimensional array.
24
24
  * If `hasHeader` is true, the first row is treated as the header.
25
25
  */
26
- data: string[][];
26
+ data?: string[][];
27
27
  /**
28
28
  * Indicates whether the first row of `data` is a header.
29
29
  * @default true
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "react-markdown-table-ts",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "A React component that converts structured data into Markdown table syntax and displays it within a `<pre>` tag.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
7
- "types": "dist/types",
7
+ "types": "dist",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
@@ -57,6 +57,7 @@
57
57
  "@types/node": "20.12.7",
58
58
  "@types/react": "^18.3.8",
59
59
  "@types/react-dom": "^18.3.0",
60
+ "eslint": "^8.50.0",
60
61
  "gts": "^5.3.1",
61
62
  "jest": "^29.7.0",
62
63
  "jest-environment-jsdom": "^29.7.0",
@@ -188,7 +189,6 @@
188
189
  "escalade": "^3.2.0",
189
190
  "escape-string-regexp": "^4.0.0",
190
191
  "escodegen": "^2.1.0",
191
- "eslint": "^8.57.0",
192
192
  "eslint-config-prettier": "^9.1.0",
193
193
  "eslint-plugin-es": "^4.1.0",
194
194
  "eslint-plugin-n": "^15.7.0",
File without changes
File without changes
File without changes
File without changes