react-markdown-table-ts 0.5.5 → 0.5.6
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 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
@@ -64,5 +64,13 @@ export interface MarkdownTableProps {
|
|
64
64
|
* @default true
|
65
65
|
*/
|
66
66
|
hasPadding?: boolean;
|
67
|
+
/**
|
68
|
+
* Optional CSS properties to apply to the pre element containing the Markdown table.
|
69
|
+
*/
|
67
70
|
preStyle?: React.CSSProperties;
|
71
|
+
/**
|
72
|
+
* Optional flag to show the copy button.
|
73
|
+
* @default false
|
74
|
+
*/
|
75
|
+
showCopyButton?: boolean;
|
68
76
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-markdown-table-ts",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.6",
|
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",
|