import { useState } from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faSparkles, faXmark } from '@fortawesome/pro-duotone-svg-icons'; import { AiChatPanel } from '@/components/call-desk/ai-chat-panel'; import { cx } from '@/utils/cx'; export const AiFloatingButton = () => { const [open, setOpen] = useState(false); return ( <> {/* FAB — bottom right, hidden when drawer is open */} {!open && ( )} {/* Drawer — slides in from right */}
{open && ( <>
AI Assistant
)}
); };