UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

17 lines (16 loc) 716 B
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; 'aria-expanded'?: boolean; 'aria-haspopup'?: boolean | 'true' | 'false' | 'menu' | 'dialog' | 'listbox'; } export declare const ActionButton: ({ id, ref, message, tooltipLabel, children, onClick, onMouseEnter, onMouseLeave, ...props }: ActionButtonProps) => import("react/jsx-runtime").JSX.Element; export {};