analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
19 lines • 733 B
TypeScript
/**
* Props for the floating action button that opens the chatbot panel
*/
export interface ChatbotFabProps {
/** Click handler — opens or toggles the panel */
onClick: () => void;
/** Whether the panel is currently open (drives aria + styling) */
isOpen?: boolean;
/** Optional unread count badge */
unreadCount?: number;
/** Extra tailwind classes */
className?: string;
}
/**
* Circular floating action button anchored bottom-right of the viewport.
* Uses `fixed` so it sits on top of page scroll.
*/
export default function ChatbotFab({ onClick, isOpen, unreadCount, className, }: Readonly<ChatbotFabProps>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ChatbotFab.d.ts.map