react-markdown-table-ts 0.4.0 → 0.4.2
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/dist/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +4 -1
package/dist/types.d.ts
CHANGED
@@ -53,4 +53,9 @@ export interface MarkdownTableProps {
|
|
53
53
|
* Optional callback function to receive the generated Markdown table string.
|
54
54
|
*/
|
55
55
|
onTableCreate?: (markdownTableString: string) => void;
|
56
|
+
/**
|
57
|
+
* Optional theme for the Markdown table.
|
58
|
+
* Acceptable values are 'light' or 'dark'.
|
59
|
+
*/
|
60
|
+
theme?: 'light' | 'dark';
|
56
61
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-markdown-table-ts",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.2",
|
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",
|
@@ -70,6 +70,9 @@
|
|
70
70
|
"typescript": "^5.1.6"
|
71
71
|
},
|
72
72
|
"dependencies": {
|
73
|
+
"@emotion/react": "^11.13.5",
|
74
|
+
"@emotion/styled": "^11.13.5",
|
75
|
+
"@mui/material": "^6.1.8",
|
73
76
|
"prismjs": "^1.29.0"
|
74
77
|
}
|
75
78
|
}
|