rdesign/frontend/node_modules/@copilotkitnext/react/dist/components/chat/CopilotPopupView.d.mts

41 lines
1.3 KiB
TypeScript

import { SlotValue } from "../../lib/slots.mjs";
import { CopilotChatViewProps, WelcomeScreenProps } from "./CopilotChatView.mjs";
import { CopilotChatToggleButton } from "./CopilotChatToggleButton.mjs";
import { CopilotModalHeader } from "./CopilotModalHeader.mjs";
import React from "react";
import * as react_jsx_runtime0 from "react/jsx-runtime";
//#region src/components/chat/CopilotPopupView.d.ts
type CopilotPopupViewProps = CopilotChatViewProps & {
header?: SlotValue<typeof CopilotModalHeader>;
toggleButton?: SlotValue<typeof CopilotChatToggleButton>;
width?: number | string;
height?: number | string;
clickOutsideToClose?: boolean;
defaultOpen?: boolean;
};
declare function CopilotPopupView({
header,
toggleButton,
width,
height,
clickOutsideToClose,
defaultOpen,
className,
...restProps
}: CopilotPopupViewProps): react_jsx_runtime0.JSX.Element;
declare namespace CopilotPopupView {
var displayName: string;
}
declare namespace CopilotPopupView {
/**
* Popup-specific welcome screen layout:
* - Welcome message centered vertically
* - Suggestions just above input
* - Input fixed at the bottom
*/
const WelcomeScreen: React.FC<WelcomeScreenProps>;
}
//#endregion
export { CopilotPopupView, CopilotPopupViewProps };
//# sourceMappingURL=CopilotPopupView.d.mts.map