@copilotkit/a2ui-renderer
Version:
A2UI Renderer for CopilotKit - render A2UI surfaces in React applications
18 lines (17 loc) • 584 B
text/typescript
import { ReactNode } from "react";
import * as react_jsx_runtime0 from "react/jsx-runtime";
//#region src/react-renderer/theme/ThemeContext.d.ts
type ThemeType = Record<string, unknown>;
interface ThemeProviderProps {
theme?: ThemeType;
children: ReactNode;
}
declare function ThemeProvider({
theme,
children
}: ThemeProviderProps): react_jsx_runtime0.JSX.Element;
declare function useTheme(): ThemeType;
declare function useThemeOptional(): ThemeType | undefined;
//#endregion
export { ThemeProvider, useTheme, useThemeOptional };
//# sourceMappingURL=ThemeContext.d.mts.map