@conciergus/chat - v0.3.1
    Preparing search index...

    Interface UIPlugin

    UI plugin interface

    interface UIPlugin {
        renderComponent?: (
            componentType: string,
            props: any,
            context: PluginContext,
        ) => ReactNode;
        getStyles?: (context: PluginContext) => string | Record<string, any>;
        getThemes?: (context: PluginContext) => Record<string, any>;
    }
    Index

    Properties

    renderComponent?: (
        componentType: string,
        props: any,
        context: PluginContext,
    ) => ReactNode

    Render custom UI components

    getStyles?: (context: PluginContext) => string | Record<string, any>

    Provide custom CSS styles

    getThemes?: (context: PluginContext) => Record<string, any>

    Provide custom themes