UNPKG

@voxket-ai/voxket-live

Version:

A React widget for embedding Voxket-powered audio/video/chat experiences.

27 lines (26 loc) 835 B
/** * CSS Style Injection Utility * * This utility automatically injects the SDK's CSS styles into the document * by loading them from the package's CSS file. This ensures the widget displays * correctly even if consumers forget to import the CSS file. */ /** * Try to find the CSS file path from the package */ export declare function findCSSPath(): string | null; /** * Inject Voxket SDK styles into the document * This is called automatically when the SDK is used * * @param options.force - Force injection even if styles appear to be loaded * @param options.cssUrl - Custom URL to load CSS from */ export declare function injectStyles(options?: { force?: boolean; cssUrl?: string; }): void; /** * Remove injected styles (useful for cleanup in tests) */ export declare function removeInjectedStyles(): void;