@bothub-chat/ui
Version:
Bothub UI Components
15 lines (14 loc) • 603 B
TypeScript
import React, { MutableRefObject } from 'react';
import { MessageActionEventHandler } from '../../types';
interface ActionButtonProps {
id?: string;
ref?: MutableRefObject<HTMLButtonElement | null>;
message?: string;
tooltipLabel?: string | null;
children?: React.ReactNode;
onClick?: MessageActionEventHandler;
onMouseEnter?: () => void;
onMouseLeave?: () => void;
}
export declare const ActionButton: ({ id, ref, message, tooltipLabel, children, onClick, onMouseEnter, onMouseLeave, ...props }: ActionButtonProps) => import("react/jsx-runtime").JSX.Element;
export {};