@botonic/react
Version:
Build Chatbots using React
18 lines (17 loc) • 545 B
TypeScript
import type { ButtonProps } from '../index-types';
export declare const Button: {
(props: ButtonProps): any;
displayName: "Button";
serialize(buttonProps: ButtonProps): {
button: {
disabled?: boolean;
autodisable?: boolean | string;
disabledstyle?: Record<string, string> | string;
payload: string | undefined;
url: string | undefined;
target: string | undefined;
webview: string | undefined;
title: string;
};
};
};