@erdoai/ui 0.1.101 → 0.1.102
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 +7 -14
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +7 -14
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -942,9 +942,17 @@ interface MarkdownContentProps {
|
|
|
942
942
|
content: string;
|
|
943
943
|
/** Additional CSS class names */
|
|
944
944
|
className?: string;
|
|
945
|
-
/** Whether this content is actively streaming (enables
|
|
945
|
+
/** Whether this content is actively streaming (enables typewriter reveal) */
|
|
946
946
|
isStreaming?: boolean;
|
|
947
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* Renders markdown content with GitHub Flavored Markdown support.
|
|
950
|
+
*
|
|
951
|
+
* @example
|
|
952
|
+
* ```tsx
|
|
953
|
+
* <MarkdownContent content="# Hello\n\nThis is **bold** text." />
|
|
954
|
+
* ```
|
|
955
|
+
*/
|
|
948
956
|
declare function MarkdownContent({ content, className, isStreaming }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
|
|
949
957
|
|
|
950
958
|
interface TableColumn {
|
package/dist/index.d.ts
CHANGED
|
@@ -942,9 +942,17 @@ interface MarkdownContentProps {
|
|
|
942
942
|
content: string;
|
|
943
943
|
/** Additional CSS class names */
|
|
944
944
|
className?: string;
|
|
945
|
-
/** Whether this content is actively streaming (enables
|
|
945
|
+
/** Whether this content is actively streaming (enables typewriter reveal) */
|
|
946
946
|
isStreaming?: boolean;
|
|
947
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* Renders markdown content with GitHub Flavored Markdown support.
|
|
950
|
+
*
|
|
951
|
+
* @example
|
|
952
|
+
* ```tsx
|
|
953
|
+
* <MarkdownContent content="# Hello\n\nThis is **bold** text." />
|
|
954
|
+
* ```
|
|
955
|
+
*/
|
|
948
956
|
declare function MarkdownContent({ content, className, isStreaming }: MarkdownContentProps): react_jsx_runtime.JSX.Element | null;
|
|
949
957
|
|
|
950
958
|
interface TableColumn {
|