UNPKG

@xapp/chat-widget

Version:
14 lines (13 loc) 586 B
import 'rollup-plugin-inject-process-env'; import { FC, PropsWithChildren } from "react"; import { ChatServerButton, ChatServerListItem } from "../../xapp/ChatServerMessage"; import "./ActionItem.scss"; import { OpenUrlCallback } from "../../hooks/useOpenUrlCallback"; export interface ActionItemProps { readonly className?: string; readonly item: ChatServerListItem; onButtonClick(button: ChatServerButton): void; onExecute(text: string, token?: string): void; onOpenUrl: OpenUrlCallback; } export declare const ActionItem: FC<PropsWithChildren<ActionItemProps>>;