// ============================================================================ // Chatbot Footer - Message Bar - Stop // ============================================================================ import type { FunctionComponent } from 'react'; // Import PatternFly components import { Button, ButtonProps, Tooltip, TooltipProps, Icon } from '@patternfly/react-core'; export interface StopButtonProps extends ButtonProps { /** Callback for when button is clicked */ onClick: (event: React.MouseEvent) => void; /** Class name for StopButton */ className?: string; /** Props to control the PF Tooltip component */ tooltipProps?: Omit; /** English text "Stop" used in the tooltip */ tooltipContent?: string; /** Whether stop button has compact styling */ isCompact?: boolean; } export const StopButton: FunctionComponent = ({ className, onClick, tooltipProps, tooltipContent = 'Stop', isCompact, ...props }: StopButtonProps) => (