@servicetitan/assist-ui
Version:
ServiceTitan Atlas UI Components
24 lines • 1.02 kB
TypeScript
import { MouseEvent } from 'react';
export interface HeaderProps {
title?: string;
onMouseDown?: (e: MouseEvent) => void;
isDragging?: boolean;
isDraggable?: boolean;
isExpanded?: boolean;
disabledChatsIcon?: boolean;
historyCount?: number;
titleBadge?: string | number;
className?: string;
onBack?: () => void;
onClose?: () => void;
onViewHistory?: () => void;
onFullscreen?: () => void;
onCreateNewChat?: () => void;
backButtonId?: string;
viewHistoryButtonId?: string;
fullscreenButtonId?: string;
newChatButtonId?: string;
closeButtonId?: string;
}
export declare const Header: ({ title, onMouseDown, isDraggable, isDragging, onFullscreen, onViewHistory, isExpanded, historyCount, titleBadge, disabledChatsIcon, onClose, onBack, className, onCreateNewChat, backButtonId, viewHistoryButtonId, fullscreenButtonId, newChatButtonId, closeButtonId, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=header.d.ts.map