@erdoai/ui 0.1.27 → 0.1.28
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/README.md +36 -19
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +0 -21
- package/dist/index.d.ts +0 -21
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -785,27 +785,6 @@ interface ContentProps {
|
|
|
785
785
|
*/
|
|
786
786
|
components?: Record<string, React__default.ComponentType<any>>;
|
|
787
787
|
}
|
|
788
|
-
/**
|
|
789
|
-
* Routes content to the appropriate renderer based on content_type and ui_content_type.
|
|
790
|
-
*
|
|
791
|
-
* This is the main entry point for rendering content items from Erdo bot invocations.
|
|
792
|
-
* It checks for custom component overrides first, then falls back to built-in renderers.
|
|
793
|
-
*
|
|
794
|
-
* @example
|
|
795
|
-
* ```tsx
|
|
796
|
-
* // Basic usage - uses built-in renderers
|
|
797
|
-
* <Content content={contentItem} />
|
|
798
|
-
*
|
|
799
|
-
* // With custom overrides
|
|
800
|
-
* <Content
|
|
801
|
-
* content={contentItem}
|
|
802
|
-
* components={{
|
|
803
|
-
* 'bot_invocation': MyBotInvocation,
|
|
804
|
-
* 'authorize_integration': AuthorizeIntegration,
|
|
805
|
-
* }}
|
|
806
|
-
* />
|
|
807
|
-
* ```
|
|
808
|
-
*/
|
|
809
788
|
declare function Content({ content, className, components }: ContentProps): react_jsx_runtime.JSX.Element | null;
|
|
810
789
|
|
|
811
790
|
interface ErdoUIProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -785,27 +785,6 @@ interface ContentProps {
|
|
|
785
785
|
*/
|
|
786
786
|
components?: Record<string, React__default.ComponentType<any>>;
|
|
787
787
|
}
|
|
788
|
-
/**
|
|
789
|
-
* Routes content to the appropriate renderer based on content_type and ui_content_type.
|
|
790
|
-
*
|
|
791
|
-
* This is the main entry point for rendering content items from Erdo bot invocations.
|
|
792
|
-
* It checks for custom component overrides first, then falls back to built-in renderers.
|
|
793
|
-
*
|
|
794
|
-
* @example
|
|
795
|
-
* ```tsx
|
|
796
|
-
* // Basic usage - uses built-in renderers
|
|
797
|
-
* <Content content={contentItem} />
|
|
798
|
-
*
|
|
799
|
-
* // With custom overrides
|
|
800
|
-
* <Content
|
|
801
|
-
* content={contentItem}
|
|
802
|
-
* components={{
|
|
803
|
-
* 'bot_invocation': MyBotInvocation,
|
|
804
|
-
* 'authorize_integration': AuthorizeIntegration,
|
|
805
|
-
* }}
|
|
806
|
-
* />
|
|
807
|
-
* ```
|
|
808
|
-
*/
|
|
809
788
|
declare function Content({ content, className, components }: ContentProps): react_jsx_runtime.JSX.Element | null;
|
|
810
789
|
|
|
811
790
|
interface ErdoUIProps {
|