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

16 lines
917 B
TypeScript

import { SlotValue } from "../../lib/slots.mjs";
import React from "react";
//#region src/components/chat/CopilotChatToggleButton.d.ts
declare const DefaultOpenIcon: React.FC<React.SVGProps<SVGSVGElement>>;
declare const DefaultCloseIcon: React.FC<React.SVGProps<SVGSVGElement>>;
interface CopilotChatToggleButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
/** Optional slot override for the chat (closed) icon. */
openIcon?: SlotValue<typeof DefaultOpenIcon>;
/** Optional slot override for the close icon. */
closeIcon?: SlotValue<typeof DefaultCloseIcon>;
}
declare const CopilotChatToggleButton: React.ForwardRefExoticComponent<CopilotChatToggleButtonProps & React.RefAttributes<HTMLButtonElement>>;
//#endregion
export { CopilotChatToggleButton, CopilotChatToggleButtonProps, DefaultCloseIcon, DefaultOpenIcon };
//# sourceMappingURL=CopilotChatToggleButton.d.mts.map