@codedevin/dify-chat
Version:
A beautiful and configurable chatbot widget for Dify integration with multiple display modes
10 lines (9 loc) • 471 B
TypeScript
import { ChatTheme } from '../types';
export interface UseThemeOptions {
theme?: ChatTheme;
container?: HTMLElement | null;
}
export declare const useTheme: ({ theme, container }?: UseThemeOptions) => import('react').MutableRefObject<HTMLElement | null>;
export declare const applyThemeToElement: (element: HTMLElement, theme: ChatTheme) => void;
export declare const removeThemeFromElement: (element: HTMLElement) => void;
//# sourceMappingURL=useTheme.d.ts.map